mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: restrict CSS properties for '::cue'.
According to the spec [1], only those CSS properties listed on the spec can be applied on the `::cue`. [1] https://www.w3.org/TR/webvtt1/#the-cue-pseudo-element Differential Revision: https://phabricator.services.mozilla.com/D34262
This commit is contained in:
parent
5db88db8fc
commit
84a5ab2ba8
9 changed files with 50 additions and 41 deletions
|
@ -12,7 +12,7 @@ ${helpers.predefined_type(
|
|||
"Opacity",
|
||||
"1.0",
|
||||
animation_value_type="ComputedValue",
|
||||
flags="CREATES_STACKING_CONTEXT APPLIES_TO_PLACEHOLDER \
|
||||
flags="APPLIES_TO_CUE CREATES_STACKING_CONTEXT APPLIES_TO_PLACEHOLDER \
|
||||
CAN_ANIMATE_ON_COMPOSITOR",
|
||||
spec="https://drafts.csswg.org/css-color/#opacity",
|
||||
servo_restyle_damage = "reflow_out_of_flow",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue