Open Bug 1626361 Opened 4 years ago Updated 2 years ago

Don't misuse ::before to support label attributes on options

Categories

(Core :: Layout: Form Controls, task)

task

Tracking

()

People

(Reporter: chutten, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

bug 40545 was implemented using ::before to render the label content using content: attr(). This use of the pseudo-element was a necessity because bug 1481150 hasn't landed so we couldn't put it in option[label] itself.

So, once bug 1481150 is completed and we can use content: attr(label) inside the option selector itself without a pseudo, we should.

We might also wish to take the opportunity to remove some more of the less-pleasing details of the implementation from bug 40545.

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