Closed Bug 1485646 Opened 7 years ago Closed 7 years ago

Percentage basis for <fieldset> children seems wrong

Categories

(Core :: Layout: Form Controls, defect, P4)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file Testcase #1
Expected: the height of all fieldset children should be 100px Actual: only the rendered legend (A) is 100px, B and C are 5px (the border-width?)
Priority: -- → P4
Keywords: testcase
(FWIW, Google Chrome 70 renders the testcase as expected.)
Actually, given the box model illustrated in this figure: https://whatpr.org/html/3934/rendering.html#the-fieldset-and-legend-elements:'block-size' I think Gecko's rendering is the correct one. For fieldset children other than the rendered legend, it's the inner anonymous box that is the CB and it should be used as the percentage basis for them.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: