mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Manually implement the display property for now.
This commit is contained in:
parent
972cc7ead5
commit
980c814e2a
3 changed files with 55 additions and 30 deletions
|
@ -20,7 +20,7 @@ class Keyword(object):
|
|||
def __init__(self, name, values, gecko_constant_prefix=None,
|
||||
extra_gecko_values=None, extra_servo_values=None):
|
||||
self.name = name
|
||||
self.values = values
|
||||
self.values = values.split()
|
||||
self.gecko_constant_prefix = gecko_constant_prefix or \
|
||||
"NS_STYLE_" + self.name.upper().replace("-", "_")
|
||||
self.extra_gecko_values = (extra_gecko_values or "").split()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue