Closed
Bug 1150308
Opened 10 years ago
Closed 10 years ago
[Shadow DOM] :active state does not reach into parent shadow dom from normal content node
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: mikehenrty, Assigned: wchen)
Details
Attachments
(2 files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Attached test case. In the test case there is a blue box, which is the shadow host. Inside that box is a shadow DOM box with a black border. Clicking on the shadow DOM box will trigger it's :active state, which turns it green. Inside the shadow DOM box, there is a non-shadow span with a text node saying "Text".
The bug is that when clicking on the text, the active state of the shadow DOM box will not get triggered. It seems that the active state is not reaching into the shadow DOM from the content node.
Assignee | ||
Comment 2•10 years ago
|
||
So the issue here is similar to bug 1145910, except that instead of failing to propagate event state from shadow DOM to the light DOM, we don't propagate the state from light DOM into the shadow root where the nodes are distributed. The first case is actually specified (shadow DOM -> light DOM), but the other way is not. It looks like Chrome is propagating the state into the shadow DOM.
Flags: needinfo?(wchen)
Assignee | ||
Comment 3•10 years ago
|
||
Assignee: nobody → wchen
Assignee | ||
Updated•10 years ago
|
Attachment #8587687 -
Flags: review?(bugs)
Updated•10 years ago
|
Attachment #8587687 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Flags: in-testsuite+
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•