Closed
Bug 1640601
Opened 5 years ago
Closed 5 years ago
Assert when toggling `display` back from none in ::file-chooser-button.
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
MOZ_ASSERT(aChild->GetProperty(nsGkAtoms::restylableAnonymousNode)) (Someone passed native anonymous content directly into frame construction. Stop doing that!)
Assignee | ||
Comment 1•5 years ago
|
||
We were dealing with it correctly when switching display from e.g. block
to inline, or such. But we were not dealing with it when the node was
undisplayed.
Handle it properly, and free one frame bit while at it. We can't really
do this for ManualNAC (the editor resizers) because they request a
reframe explicitly.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a74484fbd880
Also reframe the closest non-anonymous root when switching anonymous content from display: none to something else. r=mats
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/23763 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 5•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•