mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Enable Shadow DOM for tests (#34299)
* Enable shadowdom implementation in all tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update test expectations. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
c73e4baca2
commit
910e8dc89f
207 changed files with 4735 additions and 260 deletions
|
@ -1,2 +1,96 @@
|
|||
[CSSStyleSheet-constructable.html]
|
||||
expected: ERROR
|
||||
[document.adoptedStyleSheets should initially have length 0.]
|
||||
expected: FAIL
|
||||
|
||||
[new CSSStyleSheet produces empty CSSStyleSheet]
|
||||
expected: FAIL
|
||||
|
||||
[title can be set in the CSSStyleSheet constructor]
|
||||
expected: FAIL
|
||||
|
||||
[CSSStyleSheet.replace produces Promise<CSSStyleSheet>]
|
||||
expected: FAIL
|
||||
|
||||
[Constructed style sheets can be applied on document]
|
||||
expected: FAIL
|
||||
|
||||
[Constructed style sheets can be applied on shadow root]
|
||||
expected: FAIL
|
||||
|
||||
[Re-attaching shadow host with adopted stylesheets work]
|
||||
expected: FAIL
|
||||
|
||||
[Attaching a shadow root that already has adopted stylesheets work]
|
||||
expected: FAIL
|
||||
|
||||
[Re-attaching shadow host and updating attributes work]
|
||||
expected: FAIL
|
||||
|
||||
[Changes to constructed stylesheets through CSSOM is reflected]
|
||||
expected: FAIL
|
||||
|
||||
[Constructed stylesheet can be used and modified in multiple TreeScopes]
|
||||
expected: FAIL
|
||||
|
||||
[Stylesheets constructed on the main Document cannot be used in iframes]
|
||||
expected: FAIL
|
||||
|
||||
[Stylesheet constructed on iframe cannot be used in the main Document]
|
||||
expected: FAIL
|
||||
|
||||
[Adding non-constructed stylesheet to AdoptedStyleSheets is not allowed when the owner document of the stylesheet is in the same document tree as the AdoptedStyleSheets]
|
||||
expected: FAIL
|
||||
|
||||
[Adding non-constructed stylesheet to AdoptedStyleSheets is not allowed when the owner document of the stylesheet and the AdoptedStyleSheets are in different document trees]
|
||||
expected: FAIL
|
||||
|
||||
[CSSStyleSheet.replaceSync replaces stylesheet text synchronously]
|
||||
expected: FAIL
|
||||
|
||||
[CSSStyleSheet.replaceSync correctly updates the style of its adopters synchronously]
|
||||
expected: FAIL
|
||||
|
||||
[Adopted sheets are ordered after non-adopted sheets in the shadow root]
|
||||
expected: FAIL
|
||||
|
||||
[Adopted sheets are ordered after non-adopted sheets in the document]
|
||||
expected: FAIL
|
||||
|
||||
[Inserting an @import rule through insertRule on a constructed stylesheet throws an exception]
|
||||
expected: FAIL
|
||||
|
||||
[CSSStyleSheet.replaceSync should not trigger any loads from @import rules]
|
||||
expected: FAIL
|
||||
|
||||
[CSSStyleSheet.replace allows, but ignores, import rule inside]
|
||||
expected: FAIL
|
||||
|
||||
[CSSStyleSheet.replace ignores @import rule but still loads other rules]
|
||||
expected: FAIL
|
||||
|
||||
[CSSStyleSheet.replaceSync allows, but ignores, import rule inside]
|
||||
expected: FAIL
|
||||
|
||||
[CSSStyleSheet.replace does not reject on failed imports]
|
||||
expected: FAIL
|
||||
|
||||
[Cloning a shadow host will not clone shadow root, and also adoptedStyleSheets]
|
||||
expected: FAIL
|
||||
|
||||
[Importing a shadow host will not copy shadow root, and also adoptedStyleSheets]
|
||||
expected: FAIL
|
||||
|
||||
[Adopting a shadow host will empty adoptedStyleSheets if adopting to a different document]
|
||||
expected: FAIL
|
||||
|
||||
[Adopting a shadow host's ancestor will empty adoptedStyleSheets if adopting to a different document]
|
||||
expected: FAIL
|
||||
|
||||
[Forcing a style update after adding an adopted stylesheet on a disconnected shadow root should not crash.]
|
||||
expected: FAIL
|
||||
|
||||
[Modifying an adopted stylesheet on a disconnected shadow root should not crash.]
|
||||
expected: FAIL
|
||||
|
||||
[Constructing a sheet with the default base URL uses the constructor document's base URL for CSS rules]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue