Closed
Bug 931460
Opened 11 years ago
Closed 11 years ago
"ASSERTION: Scroll frame should be an ancestor of the containing block" with sticky, fieldset
Categories
(Core :: Layout, defect, P4)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: jruderman, Assigned: roc)
References
Details
(Keywords: assertion, regression, testcase, Whiteboard: [qa-])
Attachments
(4 files)
(deleted),
text/html
|
Details | |
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
###!!! ASSERTION: Scroll frame should be an ancestor of the containing block: 'cbFrame == scrolledFrame || nsLayoutUtils::IsProperAncestorFrame(scrolledFrame, cbFrame)', file layout/generic/StickyScrollContainer.cpp, line 155
Reporter | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Regression window on m-c: 2013-10-25 -- 2013-10-26 http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=186e834d87dc&tochange=ef3f5669b53e contains bug 261037 which seems the most likely candidate given that the test has <fieldset style="overflow: hidden;">
Updated•11 years ago
|
Priority: -- → P4
Assignee | ||
Comment 3•11 years ago
|
||
Assignee: nobody → roc
Attachment #8334330 -
Flags: review?(matspal)
Comment 5•11 years ago
|
||
Comment on attachment 8334330 [details] [diff] [review] part 1: fix assertions r=mats, with a couple of nits (fix as you see fit). >layout/generic/StickyScrollContainer.cpp >+ StickyScrollContainer* s = static_cast<StickyScrollContainer*> Renaming 's' to 'oldSSC' would make the code clearer IMO. >+ for (int32_t i = s->mFrames.Length() - 1; i >= 0; --i) { In general, I would prefer this pattern: auto i = s->mFrames.Length(); while (i--) { because: 1. it allows the full range of values that Length() can return 2. it's less to read
Attachment #8334330 -
Flags: review?(matspal) → review+
Comment 6•11 years ago
|
||
Comment on attachment 8334331 [details] [diff] [review] part 2: support relative and sticky positioning on legends > layout/reftests/forms/fieldset/relpos-legend-1.html Please add a rel.pos. inline legend to this test <fieldset> <legend style="display:inline; position:relative; top:20px">Legend</legend> </fieldset>
Attachment #8334331 -
Flags: review?(matspal) → review+
Comment 7•11 years ago
|
||
... or, if you want to keep it on one line: for (auto i = s->mFrames.Length(); i-- ;) (I'm assuming it's OK to use c++11 auto now.)
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/be8c4d516bda https://hg.mozilla.org/integration/mozilla-inbound/rev/29f004e4fa77
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/be8c4d516bda https://hg.mozilla.org/mozilla-central/rev/29f004e4fa77
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•11 years ago
|
Flags: in-testsuite+
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•