Closed
Bug 398510
Opened 17 years ago
Closed 17 years ago
[FIX]Crash [@ IsPercentageAware] removing text from mtd with :first-letter
Categories
(Core :: MathML, defect, P2)
Core
MathML
Tracking
()
RESOLVED
FIXED
mozilla1.9beta2
People
(Reporter: jruderman, Assigned: bzbarsky)
References
Details
(Keywords: assertion, crash, testcase)
Crash Data
Attachments
(2 files)
466 bytes,
application/xhtml+xml
|
Details | |
3.82 KB,
patch
|
roc
:
review+
roc
:
superreview+
roc
:
approval1.9+
|
Details | Diff | Splinter Review |
Loading the testcase triggers a crash [@ IsPercentageAware], with an assertion warning about the impending crash.
###!!! ASSERTION: null frame is not allowed: 'aFrame', file /Users/jruderman/trunk/mozilla/layout/generic/nsLineLayout.cpp, line 712
Assignee | ||
Comment 1•17 years ago
|
||
We have a first-letter frame with no textframe inside. Shouldn't really be happening...
Assignee | ||
Comment 2•17 years ago
|
||
The issue is that we assume first-letter only happens on float containing blocks, and MathML is violating this assumption. Fix is to not allow first-letter on MathML cell inners.
Attachment #283809 -
Flags: superreview?(roc)
Attachment #283809 -
Flags: review?(rbs)
Assignee | ||
Updated•17 years ago
|
Assignee: rbs → bzbarsky
OS: Mac OS X → All
Priority: -- → P2
Hardware: PC → All
Summary: Crash [@ IsPercentageAware] removing text from mtd with :first-letter → [FIX]Crash [@ IsPercentageAware] removing text from mtd with :first-letter
Target Milestone: --- → mozilla1.9 M10
Boris, this is probably fixed by my patch to wrap non-MathML children of MathML in blocks, do you want this patch in any case?
Assignee | ||
Comment 4•17 years ago
|
||
Yes, I think we still need this patch.
Attachment #283809 -
Flags: superreview?(roc)
Attachment #283809 -
Flags: superreview+
Attachment #283809 -
Flags: review?(rbs)
Attachment #283809 -
Flags: review+
Attachment #283809 -
Flags: approval1.9+
Assignee | ||
Updated•17 years ago
|
Flags: blocking1.9?
Assignee | ||
Updated•17 years ago
|
Flags: blocking1.9?
Assignee | ||
Comment 5•17 years ago
|
||
Fixed. Need to land test once we sort out where...
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Assignee | ||
Comment 6•17 years ago
|
||
> + PR_TRUE, childItems, PR_FALSE);
This should have been:
+ PR_TRUE, childItems, isBlock);
Regression tests caught it, yay.
Updated•14 years ago
|
Crash Signature: [@ IsPercentageAware]
You need to log in
before you can comment on or make changes to this bug.
Description
•