Bug 1862032 [wpt PR 42811] - Revert recent changes to inheritance of direction and...
commit1043cc9d7b9331b904811bf2c52dfef81cf05135
authorBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Wed, 8 Nov 2023 08:29:46 +0000 (8 08:29 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 19 Nov 2023 15:19:02 +0000 (19 15:19 +0000)
tree122241195ada1326ef2fc3399da933e4f292e22b
parenta988b04642fb483437dcee2b98e3cbd89f53d5a2
Bug 1862032 [wpt PR 42811] - Revert recent changes to inheritance of direction and language for <slot> elements., a=testonly

Automatic update from web-platform-tests
Revert recent changes to inheritance of direction and language for <slot> elements. (#42811)

This changes the way <slot> elements inherit the HTML concepts of
direction and language to inherit from their parent, rather than from
their shadow root's host.

This matches the changes that I'm proposing in:
https://github.com/whatwg/html/pull/9880

These changes are all behind flags that are slated to ship in M120:
CSSPseudoDir for the direction changes and HTMLLangNewInheritance for
the language changes.

Bug: 576815, 1490711
Change-Id: I152d8e21e24e77c9359744019b3ab875c2a21727
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4984312
Reviewed-by: Di Zhang <dizhangg@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1216286}

Co-authored-by: L. David Baron <dbaron@chromium.org>
--

wpt-commits: e873a33f5a8564beb3864cb779e0c774aa4816c7
wpt-pr: 42811
testing/web-platform/tests/html/dom/elements/global-attributes/dir-shadow-35-ref.html
testing/web-platform/tests/html/dom/elements/global-attributes/dir-shadow-35.html
testing/web-platform/tests/html/dom/elements/global-attributes/dir-shadow-41-ref.html
testing/web-platform/tests/html/dom/elements/global-attributes/dir-shadow-41.html
testing/web-platform/tests/html/dom/elements/global-attributes/lang-attribute-shadow.window.js