Open
Bug 1740283
Opened 3 years ago
Updated 3 years ago
ShadowDOM should support :lang()
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: 709922234, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0
Steps to reproduce:
open https://codepen.io/mantou132/pen/RwZJVLY?editors=1010
Actual results:
Two "test" text style is different
Expected results:
Two "test" text style is same
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Summary: Shadowdom should support :lang() → ShadowDOM should support :lang()
Comment 1•3 years ago
|
||
This is https://github.com/whatwg/html/issues/4906.
:host(:lang(...))
does work though.
See Also: → https://github.com/whatwg/html/issues/4906
I don’t know why, :host(:lang()) works normally in codepen, but not in my application.
Comment 4•3 years ago
|
||
Is it a nested shadow tree? That'd explain it
Updated•3 years ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•