mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Make all PropertyDeclaration variants have only one field
This commit is contained in:
parent
3918c983e1
commit
5195eb38f2
6 changed files with 138 additions and 81 deletions
|
@ -149,6 +149,7 @@ class Longhand(object):
|
|||
predefined_type=None, servo_pref=None, gecko_pref=None,
|
||||
enabled_in="content", need_index=False,
|
||||
gecko_ffi_name=None,
|
||||
is_gecko_size_type_hack=False,
|
||||
allowed_in_keyframe_block=True, cast_type='u8',
|
||||
logical=False, alias=None, extra_prefixes=None, boxed=False,
|
||||
flags=None, allowed_in_page_rule=False, allow_quirks=False, ignored_when_colors_disabled=False,
|
||||
|
@ -185,6 +186,7 @@ class Longhand(object):
|
|||
self.allow_quirks = allow_quirks
|
||||
self.ignored_when_colors_disabled = ignored_when_colors_disabled
|
||||
self.is_vector = vector
|
||||
self.is_gecko_size_type_hack = is_gecko_size_type_hack
|
||||
|
||||
# https://drafts.csswg.org/css-animations/#keyframes
|
||||
# > The <declaration-list> inside of <keyframe-block> accepts any CSS property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue