mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Add check for non-Copy specified value to ensure specified_is_copy always returns the right result.
Differential Revision: https://phabricator.services.mozilla.com/D2931
This commit is contained in:
parent
e7945bbfcb
commit
e22850dc85
3 changed files with 29 additions and 1 deletions
|
@ -290,14 +290,22 @@ class Longhand(object):
|
|||
"AlignContent",
|
||||
"AlignItems",
|
||||
"AlignSelf",
|
||||
"Appearance",
|
||||
"BackgroundRepeat",
|
||||
"BorderImageRepeat",
|
||||
"BorderStyle",
|
||||
"Clear",
|
||||
"ColumnCount",
|
||||
"Contain",
|
||||
"Display",
|
||||
"Float",
|
||||
"FontSizeAdjust",
|
||||
"FontStretch",
|
||||
"FontStyle",
|
||||
"FontStyleAdjust",
|
||||
"FontSynthesis",
|
||||
"FontWeight",
|
||||
"GreaterThanOrEqualToOneNumber",
|
||||
"GridAutoFlow",
|
||||
"InitialLetter",
|
||||
"Integer",
|
||||
|
@ -311,10 +319,13 @@ class Longhand(object):
|
|||
"NonNegativeNumber",
|
||||
"Opacity",
|
||||
"OutlineStyle",
|
||||
"OverflowClipBox",
|
||||
"OverscrollBehavior",
|
||||
"Percentage",
|
||||
"SVGOpacity",
|
||||
"SVGPaintOrder",
|
||||
"ScrollSnapType",
|
||||
"TextAlign",
|
||||
"TextDecorationLine",
|
||||
"TouchAction",
|
||||
"TransformStyle",
|
||||
|
@ -322,6 +333,8 @@ class Longhand(object):
|
|||
"XTextZoom",
|
||||
"ZIndex",
|
||||
}
|
||||
if self.name == "overflow-y":
|
||||
return True
|
||||
return bool(self.keyword)
|
||||
|
||||
def animated_type(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue