Xidorn Quan
03bcb7a26a
Move "remove a CSS rule" algorithm to style
2016-11-24 15:38:40 +11:00
Xidorn Quan
134ef33842
Move "insert a CSS rule" algorithm to style
...
This also changes the algorithm to match w3c/csswg-drafts#754 instead of
the current cssom draft, because that makes the code simpler and matches
implementation of other browsers.
2016-11-24 15:38:40 +11:00
Manish Goregaokar
64442090ba
Add CSSKeyframesRule.{findRule, deleteRule, appendRule}
2016-11-23 09:32:44 -08:00
Manish Goregaokar
a9cd17ae96
Add CSSGroupingRule.{cssRules, insertRule(), deleteRule()}
2016-11-23 09:32:43 -08:00
Manish Goregaokar
cada5d7c03
Transitively deparent on removal
...
Chrome and Firefox do this already, probably a spec oversight
2016-11-23 09:32:42 -08:00
Manish Goregaokar
53c99662bc
Make parent stylesheet optional for CSSRules
2016-11-23 09:32:40 -08:00
Manish Goregaokar
52a3a71be3
Add support for keyframe-backed CSSRules, CSSKeyframesRule.cssRules and CSSKeyframeRule
2016-11-23 09:32:39 -08:00
Manish Goregaokar
2793d5f0a9
Handle parser state in CSSOM insert_rule
2016-11-23 09:31:29 -08:00
Manish Goregaokar
1d20d75cb2
Add insertRule() and deleteRule() on CSSStyleSheet
2016-11-23 09:30:29 -08:00
Manish Goregaokar
2fe390e237
Allow mutation of CssRules
2016-11-15 08:49:58 -08:00
Manish Goregaokar
177d6fa4ee
Support basic immutable CSSOM
2016-11-15 06:56:18 -08:00