Skip to content

Should the min-content style on fieldset really be min-width, or min-inline-size? #2078

@bzbarsky

Description

@bzbarsky

https://html.spec.whatwg.org/multipage/rendering.html#the-fieldset-and-legend-elements says:

min-width: min-content;

but should it really be min-inline-size: min-content instead? The relevant testcase is:

<fieldset style="writing-mode: tb; width: 0; height: 0">This is a test</fieldset>

which is very nicely not interoperable amongst UAs to start with, though none seem to actually do the min-inline-size bit.... So maybe we should just leave the min-width with a comment about how it's legacy that any sane web page should turn off or something.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions