"ASSERTION: Couldn't find placeholder!" with floats, rel&abs pos

RESOLVED WORKSFORME

Status

()

Core
Layout
RESOLVED WORKSFORME
12 years ago
11 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
x86
Mac OS X
assertion, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
Created attachment 255402 [details]
testcase

###!!! ASSERTION: Couldn't find placeholder!: 'firstFrame', file /Users/jruderman/trunk/mozilla/layout/generic/nsHTMLReflowState.cpp, line 817
This is exactly what bz mentioned here:

http://lxr.mozilla.org/seamonkey/source/layout/generic/nsHTMLReflowState.cpp#804
  // XXXbz the line box is not fully reflown yet if our containing block is
  // relatively positioned...

In this case, the placeholder is actually on the span's overflow-list. I could hack this code to also search overflow lists and blockFrame's next-in-flows, but that would be a bit nasty. It would make more sense to defer layout of the span's abs-pos children until we've reflowed all frames for the span --- if we can get away with that. I'd like to do similar for blocks too, but I'm not 100% sure we can, in general.
(Reporter)

Comment 2

11 years ago
WFM, Mac trunk.

Roc, does anything you mentioned in comment 1 need to become a separate bug?
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 3

11 years ago
Crashtest checked in.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.