mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: [css-properties-values-api] Implement parsing and serialization for @property at-rule
Implemented behind the new properties-and-values pref. Support for the CSSPropertyRule WebIDL interface is also added in this patch, because until it's added, any attempt to access the rule using the CSSOM would crash the browser. Depends on D178268 Differential Revision: https://phabricator.services.mozilla.com/D178270
This commit is contained in:
parent
87ce7045ef
commit
9c46eabe83
12 changed files with 312 additions and 3 deletions
|
@ -550,6 +550,7 @@ impl StylesheetInvalidationSet {
|
|||
},
|
||||
CounterStyle(..) |
|
||||
Page(..) |
|
||||
Property(..) |
|
||||
Viewport(..) |
|
||||
FontFeatureValues(..) |
|
||||
FontPaletteValues(..) |
|
||||
|
@ -633,7 +634,11 @@ impl StylesheetInvalidationSet {
|
|||
// existing elements.
|
||||
}
|
||||
},
|
||||
CounterStyle(..) | Page(..) | Viewport(..) | FontFeatureValues(..) |
|
||||
CounterStyle(..) |
|
||||
Page(..) |
|
||||
Property(..) |
|
||||
Viewport(..) |
|
||||
FontFeatureValues(..) |
|
||||
FontPaletteValues(..) => {
|
||||
debug!(
|
||||
" > Found unsupported rule, marking the whole subtree \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue