Closed Bug 793007 Opened 12 years ago Closed 2 years ago

Baseline of an empty -moz-box is incorrect. (top of content-box, instead of bottom of margin-box)

Categories

(Core :: Layout, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dholbert, Unassigned)

References

Details

Attachments

(1 file)

Attached file testcase 1
STR: 1. Load attached testcase. Examine the blue -moz-box elements. ACTUAL RESULTS: In the top half, the blue -moz-box aligns the top of its content-box with the baseline of the text next to it. That is to say -- its baseline is the top of its content-box. EXPECTED RESULTS: The blue -moz-box should align the _bottom_ of its margin-box with the baseline of the text next to it. (It should use its bottom as its baseline) This is only a problem for empty "-moz-box" elements. If it has some text in it, then we successfully align it at the text's baseline. Relevant spec text: # If an atomic inline (such as an inline-block, inline-table, or replaced # inline element) is not capable of providing its own baseline information, # then the UA synthesizes a baseline table thus: # * alphabetic # The alphabetic baseline is assumed to be at the under margin edge. http://www.w3.org/TR/css3-writing-modes/#replaced-baselines
(Unsurprisingly, -moz-inline-box also suffers from this bug.)

I'm inclined to close this as WONTFIX because we removed the support of display: -moz-box in bug 1477553.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: