Closed Bug 289975 Opened 19 years ago Closed 19 years ago

Crash when using display:-moz-page-break

Categories

(Core :: Layout, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.8beta2

People

(Reporter: martijn.martijn, Assigned: bzbarsky)

References

()

Details

(Keywords: crash, regression, testcase, Whiteboard: [FIXr])

Attachments

(1 file)

Follow-up from bug 289967.
The url testcase uses display:-moz-page-break;
This hangs/crashes current trunk build of Mozilla.
This did not crash with Mozilla build 2004102604.
It crashes with Mozilla build 2004102705.
So is there a reason we have this DISPLAY_PAGE_BREAK thing for page-break
frames?  Can't we just make them display:inline (or even display:none, but that
could be a little weird)?

If we really need the separate display value, we probably just need to fix
ConstructFrameByDisplay to return null for it.
Your guess is as good as mine...
OK, I tested using display:block (since those are basically replaced-element
blocks), and that works fine.  I plan to do just that once the patch for bug
289967 lands (otherwise I'll end up with self-conflicts).
Depends on: 289967
Attached patch PatchSplinter Review
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #180519 - Flags: superreview?(dbaron)
Attachment #180519 - Flags: review?(dbaron)
OS: Windows XP → All
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla1.8beta2
Attachment #180519 - Flags: superreview?(dbaron)
Attachment #180519 - Flags: superreview+
Attachment #180519 - Flags: review?(dbaron)
Attachment #180519 - Flags: review+
Attachment #180519 - Flags: approval1.8b2+
Fixed
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Verified FIXED using the testcase at
https://bugzilla.mozilla.org/attachment.cgi?id=180422 with build 2005-04-23-05
on Windows XP: no more crash here.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: