Anthony Ramine
1327ebd52f
Remove HeapGCValue
...
It could be used to have mutable JSVal fields without GC barriers.
With the removal of that trait, MutHeap and MutNullableHeap can respectively
be replaced by MutJS and MutNullableJS.
2016-12-12 10:47:54 -10:00
Corey Farwell
449f6337d4
Rename Reflectable
to DomObject
.
...
Fixes https://github.com/servo/servo/issues/8473 .
2016-12-08 08:50:35 -10:00
Anthony Ramine
620a67ff14
Mark JSTraceable and its method as unsafe
2016-12-06 13:15:06 -10:00
Anthony Ramine
1d56087188
Update to Rust 1.15.0-nightly (1c448574b 2016-11-28)
2016-11-29 21:19:25 +01:00
Xidorn Quan
599eb1c9f0
Move Arc<RwLock<_>> out from CssRules tuple
2016-11-29 22:15:13 +11:00
Simon Sapin
70b250fe2a
Use stylesheet’s base URL and ns prefixes in CSSOM insert/appendRule.
2016-11-28 18:01:02 +01:00
Simon Sapin
f1d49d3773
Make CSSRule always keep a pointer to its parent stylesheet
...
even when the parentStylesheet IDL attribute returns null.
2016-11-28 16:50:38 +01:00
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