mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
This change fix this bugs: modify stylesheet of shadow tree does not take effect if there is no other Dom change within the shadow tree happens. Fixes: This change fix some bugs reported by this issue #38211. Testing: This fixes some subtests in `/css/cssom/CSSStyleSheet-constructable.html` and `/css/cssom/CSSStyleSheet-constructable-disallow-import.tentative.html`, and make some subtest failed in `/css/cssom/CSSStyleSheet-constructable-baseURL.html`, because the `BaseUrl` is not yet supported for `CSSStylesheet`. Signed-off-by: sharpshooter_pt <ibluegalaxy_taoj@163.com>
36 lines
1.1 KiB
INI
Vendored
36 lines
1.1 KiB
INI
Vendored
[CSSStyleSheet-constructable.html]
|
|
[new CSSStyleSheet produces empty CSSStyleSheet]
|
|
expected: FAIL
|
|
|
|
[CSSStyleSheet.replace produces Promise<CSSStyleSheet>]
|
|
expected: FAIL
|
|
|
|
[Constructed style sheets can be applied on shadow root]
|
|
expected: FAIL
|
|
|
|
[Re-attaching shadow host with adopted stylesheets work]
|
|
expected: FAIL
|
|
|
|
[Constructed stylesheet can be used and modified in multiple TreeScopes]
|
|
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
|
|
|
|
[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
|
|
|
|
[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
|