Closed
Bug 1041880
Opened 10 years ago
Closed 10 years ago
Use GetParentElementCrossingShadow() when initializing style scopes
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: wchen, Assigned: wchen)
Details
Attachments
(2 files)
8.85 KB,
text/plain
|
Details | |
1.11 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
While debugging a test case in bug 1022866, I run into an assertion in TreeMatchContext::AssertHasAllStyleScopes, where mStyleScopes is missing a shadow root-crossing ancestor of a node in a shadow tree. In TreeMatchContext::InitStyleScopes, we cross the shadow root boundary when traversing the parent chain, but in InitStyleScopes in nsStyleSet.cpp, we do not cross the boundary when obtaining the parent element.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8459994 -
Flags: review?(cam)
Updated•10 years ago
|
Attachment #8459994 -
Flags: review?(cam) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/16ab083beab4
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/16ab083beab4
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•10 years ago
|
QA Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•