Closed Bug 861118 Opened 12 years ago Closed 8 years ago

"ASSERTION: unexpected aContextFrame" with "div:first-line { page-break-before: always; }"

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Assigned: heycam)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(3 files)

Attached file testcase
###!!! ASSERTION: unexpected aContextFrame: 'aContextFrame->StyleDisplay() == this', file nsStyleStructInlines.h, line 145
Attached file stack
Cameron, can you take a look?
Flags: needinfo?(cam)
Backing out bug 860370 + bug 848973 fixes it.
Blocks: 848973
Keywords: regression
OS: Mac OS X → All
Hardware: x86_64 → All
Attached patch patchSplinter Review
Avoid the assertion by copying out the guts of the style struct accessors. It's a bit unsatisfying doing this. I wonder how useful the assertions from bug 848973 actually are...
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #737088 - Flags: review?(bzbarsky)
Flags: needinfo?(cam)
Can we change the asserts to assert the things we really care about (like equality of the style structs in terms of their effect on computed styles or something)?
Flags: needinfo?(cam)
Comment on attachment 737088 [details] [diff] [review] patch Pending an answer....
Attachment #737088 - Flags: review?(bzbarsky)
We no longer hit this assertion.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(cam)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: