"ASSERTION: we should be in a pseudo-element that is expected to contain elements"

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
6 years ago
4 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
x86_64
Mac OS X
assertion, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 667083 [details]
testcase (click the <meter>)

1. Load the testcase
2. Click the <meter>

Result:

###!!! ASSERTION: we should be in a pseudo-element that is expected to contain elements: 'nsCSSPseudoElements::PseudoElementContainsElements( topWithPseudoElementData->GetPseudo())', file layout/style/nsComputedDOMStyle.cpp, line 491

It's also possible to reproduce this using keyboard arrows to move focus, but the testcase was weirder.
(Reporter)

Comment 1

6 years ago
Created attachment 667084 [details]
stack
(Reporter)

Comment 2

4 years ago
http://hg.mozilla.org/mozilla-central/rev/d94d3e54da67 added the pseudo-element name to the assertion:

###!!! ASSERTION: we should be in a pseudo-element that is expected to contain elements (:-moz-meter-bar): 'nsCSSPseudoElements::PseudoElementContainsElements(pseudo)', file layout/style/nsComputedDOMStyle.cpp, line 683
You need to log in before you can comment on or make changes to this bug.