diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2016-11-16 14:43:33 -0800 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2016-11-23 09:31:29 -0800 |
commit | 2793d5f0a99bb13c6c439fad999da98e3afd685c (patch) | |
tree | 9d724f86f39b810cdef2098f8ddfc626c9dd7a82 /components/script/dom/cssstylesheet.rs | |
parent | 262408d9cb4db6226cb78525ae83a65ec1ce473a (diff) | |
download | servo-2793d5f0a99bb13c6c439fad999da98e3afd685c.tar.gz servo-2793d5f0a99bb13c6c439fad999da98e3afd685c.zip |
Handle parser state in CSSOM insert_rule
Diffstat (limited to 'components/script/dom/cssstylesheet.rs')
-rw-r--r-- | components/script/dom/cssstylesheet.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/cssstylesheet.rs b/components/script/dom/cssstylesheet.rs index 079199c2e6e..1a99767d1a0 100644 --- a/components/script/dom/cssstylesheet.rs +++ b/components/script/dom/cssstylesheet.rs @@ -59,7 +59,7 @@ impl CSSStyleSheetMethods for CSSStyleSheet { // https://drafts.csswg.org/cssom/#dom-cssstylesheet-insertrule fn InsertRule(&self, rule: DOMString, index: u32) -> Fallible<u32> { // XXXManishearth check origin clean flag - self.rulelist().insert_rule(&rule, index) + self.rulelist().insert_rule(&rule, index, /* nested */ false) } // https://drafts.csswg.org/cssom/#dom-cssstylesheet-deleterule |