Closed
Bug 343540
Opened 19 years ago
Closed 19 years ago
"ASSERTION: aPrevFrame must be the last continuation in its chain!" involving <dd>
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: jruderman, Assigned: uriber)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
345 bytes,
text/html
|
Details | |
466 bytes,
text/html
|
Details | |
1.36 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
###!!! ASSERTION: aPrevFrame must be the last continuation in its chain!: '!aPrevFrame || !aPrevFrame->GetNextContinuation()', file /Users/admin/trunk/mozilla/layout/base/nsFrameManager.cpp, line 671
This assertion was added in bug 299065, but I haven't tested to find out whether this bug is a more recent regression.
Reporter | ||
Comment 1•19 years ago
|
||
Assignee | ||
Comment 2•19 years ago
|
||
Oh, great. A combination of multi-line generated content with "special" (block-inside-inline) frames. I'll see what I can do.
Assignee | ||
Comment 3•19 years ago
|
||
This testcase demonstrates that this is a real bug: The text "new" is inserted before "ore" (which is the second line of the ":before" text), instead of after it.
Using this testcase it is possible to verify that the bug existed prior to the introduction of the assertion in bug 299065. The assertion just made it easier to find.
Also, notice the similarity to bug 327532.
I'm looking into nsCSSFrameConstructor::ContentInserted() for the best way to fix this. I hope to have a patch sometime soon.
Assignee | ||
Comment 4•19 years ago
|
||
This seems like the simplest and safest way to fix it.
Just make sure that we're inserting the new frame after the last continuation of the ":before" pseudo-element.
Assignee: nobody → uriber
Status: NEW → ASSIGNED
Attachment #228048 -
Flags: superreview?(roc)
Attachment #228048 -
Flags: review?(roc)
Attachment #228048 -
Flags: superreview?(roc)
Attachment #228048 -
Flags: superreview+
Attachment #228048 -
Flags: review?(roc)
Attachment #228048 -
Flags: review+
Assignee | ||
Comment 5•19 years ago
|
||
Checking in layout/base/nsCSSFrameConstructor.cpp;
/cvsroot/mozilla/layout/base/nsCSSFrameConstructor.cpp,v <-- nsCSSFrameConstructor.cpp
new revision: 1.1242; previous revision: 1.1241
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha
Assignee | ||
Comment 6•18 years ago
|
||
I accidentally mentioned the number of this bug in the check-in for bug 347853.
Reporter | ||
Comment 7•17 years ago
|
||
Added reftest based on Uri's testcase (fails in 2006-07-01) and crashtest based on my testcase.
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•