Closed Bug 1041880 Opened 5 years ago Closed 5 years ago
Parent Element Crossing Shadow() when initializing style scopes
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.
Attachment #8459994 - Flags: review?(cam) → review+
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.