mirror of
https://github.com/servo/servo.git
synced 2025-08-26 15:48:22 +01:00
Factor out opacity property to use an Opacity type.
This commit is contained in:
parent
d69763b0c1
commit
0f2dc53b0a
3 changed files with 35 additions and 41 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 = []
|
||||
simple_types = ["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