Closed Bug 396645 Opened 13 years ago Closed 2 years ago

Inserting out-of-flow into block with first-line makes it pick up first-line styling

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Attached file Testcase
See attached testcase.  Note that in general out-of-flows do not pick up the first-line styling right now, but only because we ReParentStyleContext and such to the first line and doing that skips the first-line when looking up the style context parent (see patch in bug 380012).  But in this case we just resolve style directly with the first-line as our parent frame, and no placeholders in sight.

I'm adding this test (marked "fails") to layout/reftests/first-line
Depends on: 402933
Blocks: 403177
Blocks: 402933
No longer depends on: 402933
Blocks: 548836
Test in the CSS 2.1 test suite for this bug report:
http://test.csswg.org/suites/css2.1/latest/html4/first-line-floats-004.htm
It seems to me this has been fixed by stylo (given the testcases mentioned here).
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.