Closed Bug 151054 Opened 23 years ago Closed 23 years ago

Crash with position: absolute applied to <math>

Categories

(Core :: MathML, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla1.0.1

People

(Reporter: brian, Assigned: rbs)

Details

(Keywords: crash, testcase)

Attachments

(2 files)

(Guessing at the component here) The testcase I'm about to attach crashes. I've reduced it to the following CSS rule: math { position: absolute; } This occurs in Win2k on Mozilla 1.0 and 1.1a. On Mozilla 1.0, it crashes while loading the page. On 1.1a, it crashes when you leave the page.
Attached file Testcase, crashes
Talkback incidents (with 1.1a): TB7252883Z TB7252415E
Keywords: crash, testcase
QA Contact: petersen → moied
A crash bug related to position:absolute was fixed recently... could you try the latest build? ftp://ftp.mozilla.org/pub/mozilla/nightly/latest-trunk
The date on the latest win32 build was June 14, so I just checked out the latest source and built it. The crash still occurs. Jonas, did you try the testcase?
Confirmed on Linux RedHat 7.2 Mozilla 1.1a Seamonkey build page displays, infinity sign shows. crash when leaving the page (back button)
--> MathML; confirming.
Assignee: attinasi → rbs
Component: Layout → MathML
QA Contact: moied → ian
Confirming.
Filed bug 152301 on the regression that the "and confirm bug" checkbox no longer works. Now attempting to confirm this bug using the "Confirm bug" radio button...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Ah, that worked :-)
M.J.G. saw this on Linux. Setting OS/Platform to All.
OS: Windows 2000 → All
Hardware: PC → All
(The frame construction code isn't one of the prettiest area of Gecko. Hopefully someday, a shake-up could eliminate these duplicate codes that are out-of sync.)
Cc:ing roc & waterson for r/sr.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1beta
Comment on attachment 88037 [details] [diff] [review] fix - it is the placeholder frame that is added to flow, not the positionned frame For the record, this is in an if-def MOZ_MATHML section. So no risk that it will regress anything. Also BTW, <math> is not expected to support such things anyway. It already has enough worries of its own and users can achieve extra effects by wrapping their math into a <div> and playing with that. For example, doing a floated/fixed-positioned numerator in a fraction wouldn't make much sense. But in this context, avoiding the crash with the fix is worth it.
Comment on attachment 88037 [details] [diff] [review] fix - it is the placeholder frame that is added to flow, not the positionned frame r=roc+moz
Attachment #88037 - Flags: review+
Comment on attachment 88037 [details] [diff] [review] fix - it is the placeholder frame that is added to flow, not the positionned frame sr=waterson
Attachment #88037 - Flags: superreview+
Resolving as FIXED - was checked in to trunk on 2002-07-08.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Attachment #88037 - Flags: approval+
please checkin to the 1.0.1 branch. once there, remove the "mozilla1.0.1+" keyword and add the "fixed1.0.1" keyword.
Keywords: mozilla1.0.1+
checked in to branch - marking as fixed1.0.1
Target Milestone: mozilla1.1beta → mozilla1.0.1
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: