mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
script: Create CSSStyleOwner::Null
for getComputedStyle
(#36272)
This new `CSSStyleOwner` variant is used when the pseudo-element argument fails to parse properly or is for some unknown or unsupported pseudo-element. Testing: There are tests for this change. Various tests start to pass and some start to fail. New failures are due to partial or fully missing support for pseudo-elements such as: - `::selection` - `::first-letter` and `::first-line` - `::marker` Co-authored-by: Oriol Brufau <obrufau@igalia.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
1f13e8b596
commit
2ce306f450
20 changed files with 171 additions and 219 deletions
|
@ -16,3 +16,21 @@
|
|||
|
||||
[U span::selection’s own text-decoration-thickness respects U span’s font-size]
|
||||
expected: FAIL
|
||||
|
||||
[M::selection’s font-size is the same as in M]
|
||||
expected: FAIL
|
||||
|
||||
[M span::selection’s font-size is the same as in M span]
|
||||
expected: FAIL
|
||||
|
||||
[W::selection’s line-height is the same as in W]
|
||||
expected: FAIL
|
||||
|
||||
[W span::selection’s line-height is the same as in W span]
|
||||
expected: FAIL
|
||||
|
||||
[U::selection’s font-size is the same as in U]
|
||||
expected: FAIL
|
||||
|
||||
[U span::selection’s font-size is the same as in U span]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue