mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Auto-generate CSSStyleDeclaration.webidl for CSS properties based on the style crate
This commit is contained in:
parent
447ae1eae6
commit
f1300bb98b
7 changed files with 83 additions and 485 deletions
|
@ -3344,7 +3344,7 @@ class IDLBuiltinType(IDLType):
|
|||
[self.location, attribute.location])
|
||||
assert not self.nullable()
|
||||
if not attribute.hasValue():
|
||||
raise WebIDLError("[TreatNullAs] must take an identifier argument"
|
||||
raise WebIDLError("[TreatNullAs] must take an identifier argument",
|
||||
[attribute.location])
|
||||
value = attribute.value()
|
||||
if value != 'EmptyString':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue