Add basic support for enumerating computed styles (#31499)

* Add basic support for enumerating computed styles

The old code was so broken, it was enumerating the style attribute
instead of the computed styles.

So this patch implements a basic enumeration, but not including custom
properties whose computed value is not the guaranteed-invalid value.

* Feedback
This commit is contained in:
Oriol Brufau 2024-03-06 22:43:06 +01:00 committed by GitHub
parent 6283146829
commit ea38d8ad6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 175 additions and 224 deletions

View file

@ -1,90 +0,0 @@
[getComputedStyle-listing.html]
[border-block-end-color]
expected: FAIL
[border-block-end-style]
expected: FAIL
[border-block-end-width]
expected: FAIL
[border-block-start-color]
expected: FAIL
[border-block-start-style]
expected: FAIL
[border-block-start-width]
expected: FAIL
[border-inline-end-color]
expected: FAIL
[border-inline-end-style]
expected: FAIL
[border-inline-end-width]
expected: FAIL
[border-inline-start-color]
expected: FAIL
[border-inline-start-style]
expected: FAIL
[border-inline-start-width]
expected: FAIL
[inset-block-start]
expected: FAIL
[inset-block-end]
expected: FAIL
[inset-inline-start]
expected: FAIL
[inset-inline-end]
expected: FAIL
[margin-block-start]
expected: FAIL
[margin-block-end]
expected: FAIL
[margin-inline-start]
expected: FAIL
[margin-inline-end]
expected: FAIL
[padding-block-start]
expected: FAIL
[padding-block-end]
expected: FAIL
[padding-inline-start]
expected: FAIL
[padding-inline-end]
expected: FAIL
[block-size]
expected: FAIL
[inline-size]
expected: FAIL
[max-block-size]
expected: FAIL
[max-inline-size]
expected: FAIL
[min-block-size]
expected: FAIL
[min-inline-size]
expected: FAIL