Closed
Bug 1511730
Opened 6 years ago
Closed 6 years ago
put nsBulletFrame-specific state bits in the correct group
Categories
(Core :: Layout, enhancement)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(3 files)
The nsBulletFrame-specific state bits are currently marked as "Block" rather than "Bullet"... even though there's a bullet group. I *think* this looks like a mistake. Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=56f10b42f81fdc31877e74f72f9df7397ec46e38&group_state=expanded
Assignee | ||
Comment 1•6 years ago
|
||
(The other question is why nothing was broken as a result of this!)
Assignee | ||
Comment 2•6 years ago
|
||
(I'm working on a patch to add some verification assertions, but I haven't yet thought of a decent way to do cross-group verification.)
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Without patch 1, this correctly triggers: Assertion failure: !(bitsUsedPerGroup[group] & bit) (BULLET_FRAME_HAS_FONT_INFLATION must not use a bit already declared within its group), at /home/dbaron/builds/mozilla-central/mozilla/layout/generic/nsFrameStateBits.h:594
Updated•6 years ago
|
Attachment #9029544 -
Attachment description: Bug 1511730 patch 1 - But nsBulletFrame-specific state bits in the correct group. → Bug 1511730 patch 1 - But nsBulletFrame-specific state bits in the correct group. r=heycam
Updated•6 years ago
|
Attachment #9029545 -
Attachment description: Bug 1511730 patch 2 - Refactor the frame state group macros so that there's a unique header for every group. → Bug 1511730 patch 2 - Refactor the frame state group macros so that there's a unique header for every group. r=heycam
Updated•6 years ago
|
Attachment #9029546 -
Attachment description: Bug 1511730 patch 3 - Verify there are no frame state bit conflicts within groups. → Bug 1511730 patch 3 - Verify there are no frame state bit conflicts within groups. r=heycam
Assignee | ||
Comment 6•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ce78f5cfca76dc7e13f30a48b834b73b77737ed5&group_state=expanded
Pushed by dbaron@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3984125e9c65 patch 1 - But nsBulletFrame-specific state bits in the correct group. r=heycam https://hg.mozilla.org/integration/autoland/rev/6faca87a7549 patch 2 - Refactor the frame state group macros so that there's a unique header for every group. r=heycam https://hg.mozilla.org/integration/autoland/rev/6fd0a7cc9a43 patch 3 - Verify there are no frame state bit conflicts within groups. r=heycam
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3984125e9c65 https://hg.mozilla.org/mozilla-central/rev/6faca87a7549 https://hg.mozilla.org/mozilla-central/rev/6fd0a7cc9a43
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•