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:
Oriol Brufau 2024-02-09 16:21:28 +01:00 committed by GitHub
parent 9d42602fe7
commit f2adcc3a12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 8 additions and 149 deletions

View file

@ -1,13 +0,0 @@
[variable-invalidation.html]
[css rule test]
expected: FAIL
[css rule test important]
expected: FAIL
[inline style test]
expected: FAIL
[inline style test important]
expected: FAIL