mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
Fix CSSStyleDeclaration's item() to provide properties instead of values (#31299)
For example,
style.cssText = "margin: 1px 2px 3px 4px";
[...style];
will now be
["margin-top", "margin-right", "margin-bottom", "margin-left"]
instead of
["1px", "2px", "3px", "4px"]
This commit is contained in:
@@ -1,18 +1,3 @@
|
||||
[cssom-getPropertyValue-common-checks.html]
|
||||
[All properties (except 'all') can serialize their initial value (computed)]
|
||||
expected: FAIL
|
||||
|
||||
[All shorthands can serialize their longhands set to 'initial']
|
||||
expected: FAIL
|
||||
|
||||
[All aliases can serialize target property set to 'initial']
|
||||
expected: FAIL
|
||||
|
||||
[Can't serialize shorthand when longhands are set to different css-wide keywords]
|
||||
expected: FAIL
|
||||
|
||||
[Can't serialize shorthand when longhands have different priority]
|
||||
expected: FAIL
|
||||
|
||||
[Can't serialize shorthand set to 'initial' when some longhand is missing]
|
||||
expected: FAIL
|
||||
|
||||
Reference in New Issue
Block a user