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:
Alastor Wu 2019-06-25 00:32:07 +00:00 committed by Emilio Cobos Álvarez
parent 5db88db8fc
commit 84a5ab2ba8
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
9 changed files with 50 additions and 41 deletions

View file

@ -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",