Open Bug 1499176 Opened 6 years ago Updated 2 years ago

<optgroup> with no label or label="" has zero block-size

Categories

(Core :: Layout: Form Controls, enhancement)

enhancement

Tracking

()

Tracking Status
firefox64 --- affected

People

(Reporter: MatsPalmgren_bugz, Unassigned)

Details

(Keywords: testcase)

Attachments

(3 files)

Attached file Testcase
See Edge, Chrome, or Safari for correct results.
Summary: <optgroup> with no label of label="" has zero block-size → <optgroup> with no label or label="" has zero block-size
Attached patch part 1: fix+testSplinter Review
I figured this would be a quick and easy fix, but it breaks a bunch of
a11y tests...
Assignee: mats → nobody

It's a bit strange that <optgroup>'s layout is implemented using generated content like this. At least, it doesn't seem right that an author can mess with optgroup::before.

If we supported the lh unit we could put min-height:1lh in there...

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: