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

@ -6,3 +6,5 @@
[getComputedStyle returns no style for element in non-rendered iframe (display: none)]
expected: FAIL
[getComputedStyle returns no style for detached element]
expected: FAIL