mirror of
https://github.com/servo/servo.git
synced 2025-08-26 15:48:22 +01:00
Add a predefined Number type.
This commit is contained in:
parent
d71e5c8b3d
commit
3255bb809e
2 changed files with 39 additions and 1 deletions
|
@ -295,7 +295,7 @@ impl Debug for ${style_struct.gecko_ffi_name} {
|
|||
# These are booleans.
|
||||
force_stub += ["page-break-after", "page-break-before"]
|
||||
|
||||
simple_types = ["Opacity"]
|
||||
simple_types = ["Number", "Opacity"]
|
||||
|
||||
keyword_longhands = [x for x in longhands if x.keyword and not x.name in force_stub]
|
||||
simple_longhands = [x for x in longhands
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue