mirror of
https://github.com/servo/servo.git
synced 2025-09-01 10:38:25 +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
|
@ -1,123 +1,15 @@
|
|||
[highlight-pseudos-computed.html]
|
||||
[getComputedStyle() for ::selection]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::selection: should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::selection) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::selection( should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::selection(foo) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::selection() should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for :::selection should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::selection. should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text: should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text( should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text(foo) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text() should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for :::target-text should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::target-text. should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error: should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error( should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error(foo) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error() should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for :::spelling-error should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::spelling-error. should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::grammar-error]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::grammar-error: should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::grammar-error) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::grammar-error( should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::grammar-error(foo) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::grammar-error() should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for :::grammar-error should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::grammar-error. should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::highlight(foo)]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::highlight(foo): should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::highlight(foo)) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::highlight(foo)( should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::highlight(foo)(foo) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::highlight(foo)() should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for :::highlight(foo) should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[getComputedStyle() for ::highlight(foo). should return an empty CSSStyleDeclaration]
|
||||
expected: FAIL
|
||||
|
||||
[Different getComputedStyle() for ::highlight(bar) and same element]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue