Closed Bug 367015 Opened 18 years ago Closed 18 years ago

Crash [@ nsBidiPresUtils::RepositionInlineFrames]

Categories

(Core :: Layout: Text and Fonts, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: uriber)

References

Details

(Keywords: crash, regression, testcase)

Crash Data

Attachments

(2 files)

Attached file testcase
Loading this testcase makes Firefox trunk crash [@ nsBidiPresUtils::RepositionInlineFrames].

This regressed between 2007-01-11 and 2007-01-14.  Could it have been caused by the patch in bug 364839?
> This regressed between 2007-01-11 and 2007-01-14.  Could it have been caused by
> the patch in bug 364839?
> 

Yes, it probably was. I'll look at it later today.
Attached patch patchSplinter Review
Deal with empty line frames (although I'm not sure why there should be an empty line frame in this case, or ever).
Assignee: nobody → uriber
Status: NEW → ASSIGNED
Attachment #251543 - Flags: superreview?(bzbarsky)
Attachment #251543 - Flags: review?(bzbarsky)
Comment on attachment 251543 [details] [diff] [review]
patch

Looks reasonable.  r+sr=bzbarsky.

The reason there's an empty line frame is that :first-line is a mess and we get an empty line frame if the first child is a block... ;)
Attachment #251543 - Flags: superreview?(bzbarsky)
Attachment #251543 - Flags: superreview+
Attachment #251543 - Flags: review?(bzbarsky)
Attachment #251543 - Flags: review+
Checked in:

Checking in mozilla/layout/base/nsBidiPresUtils.cpp;
/cvsroot/mozilla/layout/base/nsBidiPresUtils.cpp,v  <--  nsBidiPresUtils.cpp
new revision: 1.90; previous revision: 1.89
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Crashtest checked in.
Flags: in-testsuite+
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: layout.bidi → layout.fonts-and-text
Crash Signature: [@ nsBidiPresUtils::RepositionInlineFrames]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: