Closed
Bug 1292281
Opened 8 years ago
Closed 8 years ago
Stylo Assertion failure: mSource.IsGeckoRuleNode(), at layout/style/nsStyleContext.h:325
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: cpeterson, Assigned: emilio)
References
Details
(Keywords: assertion, Whiteboard: [stylo:m2])
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
To reproduce, run `./mach reftest --disable-e10s <filename>` or replace <filename> with `layout/reftest/reftest.list`. TEST-UNEXPECTED-FAIL | file:///home/shinglyu/workspace/stylo/gecko-dev/layout/reftests/selection/pseudo-element-of-native-anonymous.html | application terminated with exit code 11 REFTEST PROCESS-CRASH | file:///home/shinglyu/workspace/stylo/gecko-dev/layout/reftests/selection/pseudo-element-of-native-anonymous.html | application crashed [None] Assertion failure: mSource.IsGeckoRuleNode(), at /files/mozilla/stylo/bb/gecko/layout/style/nsStyleContext.h:325
Assignee | ||
Comment 1•8 years ago
|
||
This boils down to a call to nsRuleNode::HasAuthorSpecifiedValues while looking for the selection style in nsTextFrame.cpp. I have a patch to move the error we raise in the PresShell to nsRuleNode.
Assignee | ||
Comment 2•8 years ago
|
||
This function, btw, explains why I thought we were missing pseudo-elements. Returning true here unconditionally makes us not style the element with the native style, which makes it look raw when no styles are used.
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 3•8 years ago
|
||
The commit message said nsPresShell instead of nsPresContext, sorry.
Attachment #8785003 -
Attachment is obsolete: true
Attachment #8785003 -
Flags: review?(bobbyholley)
Attachment #8785014 -
Flags: review?(bobbyholley)
Assignee | ||
Comment 4•8 years ago
|
||
Nobody ever overrides it.
Attachment #8785015 -
Flags: review?(bobbyholley)
Updated•8 years ago
|
Attachment #8785015 -
Flags: review?(bobbyholley) → review+
Updated•8 years ago
|
Attachment #8785014 -
Flags: review?(bobbyholley) → review+
Pushed by ecoal95@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9f9fc14a57c1 Convert the error from nsPresContext::HasAuthorSpecifiedRules in a warning in nsRuleNode. r=bholley https://hg.mozilla.org/integration/mozilla-inbound/rev/0d599bb5b2dd Devirtualize nsPresContext::HasAuthorSpecifiedRules. r=bholley
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9f9fc14a57c1 https://hg.mozilla.org/mozilla-central/rev/0d599bb5b2dd
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•