Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/css/cssom/getComputedStyle-pseudo.txt
Callum Law a9eecf76df LibWeb: Dont compute style when CSSStyleProperties lacks owner node
Some instances of CSSStyleProperties can lack an owner node, for
instance the return value of a call to `window.getComputedStyle` where
the specified pseudo-element is invalid. In this case we should treat
the computed style as empty, as there is no node to compute the style
for.
2025-06-09 12:28:41 +01:00

33 lines
1.9 KiB
Plaintext

Harness status: OK
Found 26 tests
22 Pass
1 Fail
3 Optional Feature Unsupported
Pass Resolution of width is correct when pseudo-element argument is ignored (due to no colon)
Fail Resolution of width is correct when pseudo-element argument is invalid (due to a trailing token)
Pass Resolution of width is correct for ::before and ::after pseudo-elements (single-colon)
Pass Resolution of width is correct for ::before and ::after pseudo-elements (double-colon)
Pass Pseudo-elements can use the full range of CSS syntax
Pass Resolution of width is correct for ::before and ::after pseudo-elements of display: contents elements
Pass Resolution of nonexistent pseudo-element styles
Pass Resolution of pseudo-element styles in display: none elements
Pass Item-based blockification of pseudo-elements
Pass Item-based blockification of nonexistent pseudo-elements
Pass display: contents on pseudo-elements
Pass Dynamically change to display: contents on pseudo-elements
Pass Unknown pseudo-elements
Pass CSSStyleDeclaration is immutable
Pass Unknown pseudo-element with a known identifier: backdrop
Pass Unknown pseudo-element with a known identifier: file-selector-button
Optional Feature Unsupported Unknown pseudo-element with a known identifier: grammar-error
Optional Feature Unsupported Unknown pseudo-element with a known identifier: highlight(name)
Pass Unknown pseudo-element with a known identifier: marker
Pass Unknown pseudo-element with a known identifier: placeholder
Optional Feature Unsupported Unknown pseudo-element with a known identifier: spelling-error
Pass Unknown pseudo-element with a known identifier: view-transition
Pass Unknown pseudo-element with a known identifier: view-transition-image-pair(name)
Pass Unknown pseudo-element with a known identifier: view-transition-group(name)
Pass Unknown pseudo-element with a known identifier: view-transition-old(name)
Pass Unknown pseudo-element with a known identifier: view-transition-new(name)