Closed Bug 846040 Opened 12 years ago Closed 12 years ago

Make inline "lines" more closely reflect how the spec defines them

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 578901

People

(Reporter: jwir3, Unassigned)

Details

The CSS2.1 visual model spec says, in section 9.2.1.1:

"To make it easier to define the formatting, we assume that there is an anonymous block box around [inline content contained within a block that also contains block content]" [1]. 

We currently divide our lines into "block lines" and "inline lines". A "block line" has a single block frame within it. An "inline line" has inline content within it, possibly multiple inline frames. We should change our behavior to better match the spec, such that every line is a) a "block line", containing a single block frame which may or may not have inline frames. Since the spec specifically mentions that we should have an anonymous block to contain inlines within a line, we should change our behavior to match it. 

[1] http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level
OS: Linux → All
Hardware: x86_64 → All
How does this differ from bug 578901?
(In reply to David Baron [:dbaron] (don't cc:, use needinfo? instead) from comment #1)
> How does this differ from bug 578901?

It doesn't. My initial search didn't find that.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.