mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add dashed CSS properties to CSSStyleDeclaration.
This commit is contained in:
parent
40806977b5
commit
b62d1a1c43
2 changed files with 107 additions and 0 deletions
|
@ -6581,6 +6581,9 @@ macro_rules! css_properties_accessors {
|
|||
$macro_name! {
|
||||
% for property in SHORTHANDS + LONGHANDS:
|
||||
% if property.derived_from is None:
|
||||
% if '-' in property.name:
|
||||
[${property.ident.capitalize()}, Set${property.ident.capitalize()}, "${property.name}"],
|
||||
% endif
|
||||
% if property != LONGHANDS[-1]:
|
||||
[${property.camel_case}, Set${property.camel_case}, "${property.name}"],
|
||||
% else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue