mirror of
https://github.com/servo/servo.git
synced 2025-06-21 07:38:59 +01:00
Add iterators for vector types
MozReview-Commit-ID: I7oOpYhVP5S
This commit is contained in:
parent
36f26148e6
commit
c85aae4abd
3 changed files with 43 additions and 3 deletions
|
@ -140,7 +140,7 @@ class Longhand(object):
|
|||
need_clone=False, need_index=False, gecko_ffi_name=None, depend_on_viewport_size=False,
|
||||
allowed_in_keyframe_block=True, complex_color=False, cast_type='u8',
|
||||
has_uncacheable_values=False, logical=False, alias=None, extra_prefixes=None, boxed=False,
|
||||
flags=None, allowed_in_page_rule=False, allow_quirks=False):
|
||||
flags=None, allowed_in_page_rule=False, allow_quirks=False, vector=False):
|
||||
self.name = name
|
||||
if not spec:
|
||||
raise TypeError("Spec should be specified for %s" % name)
|
||||
|
@ -167,6 +167,7 @@ class Longhand(object):
|
|||
self.flags = flags.split() if flags else []
|
||||
self.allowed_in_page_rule = arg_to_bool(allowed_in_page_rule)
|
||||
self.allow_quirks = allow_quirks
|
||||
self.is_vector = vector
|
||||
|
||||
# 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