Closed Bug 1469108 Opened 6 years ago Closed 6 years ago

Propagate directionality from the shadow host to the shadow root.

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

But don't make shadow root content affect directionality of the host or ancestors if they have dir="auto", since that would be observable even when the shadow root is closed.
Comment on attachment 8985748 [details]
Bug 1469108: Fix some pre-existing style issues / unnecessary default arguments.

https://reviewboard.mozilla.org/r/251280/#review257644
Attachment #8985748 - Flags: review?(bugs) → review+
Comment on attachment 8985749 [details]
Bug 1469108: Propagate directionality to the shadow tree.

https://reviewboard.mozilla.org/r/251282/#review257712

Could you add a test where an element which has shadow DOM attached, is appended to another element which has dir=rtl. rtl state should be inherited to shadow DOM.
Attachment #8985749 - Flags: review?(bugs) → review+
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fe329c5d7e39
Fix some pre-existing style issues / unnecessary default arguments. r=smaug
https://hg.mozilla.org/integration/mozilla-inbound/rev/0398e981e6a0
Propagate directionality to the shadow tree. r=smaug
https://hg.mozilla.org/mozilla-central/rev/fe329c5d7e39
https://hg.mozilla.org/mozilla-central/rev/0398e981e6a0
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/11565 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: