- From: Kirk Loretz via GitHub <noreply@w3.org>
- Date: Mon, 20 Apr 2026 07:29:42 +0000
- To: public-css-archive@w3.org
> (it may have other styling issues I'm unaware of)
One styling issue is that `fieldset` can't become a `subgrid`. whatwg/html#11546
I can set `display: grid` on the `fieldset`, and set a `float` on the `legend` to prevent it from being a [rendered legend](https://html.spec.whatwg.org/multipage/rendering.html#rendered-legend) and allow it to be a grid item. But `grid-template-columns: subgrid` doesn't work on `fieldset` because [the spec requires](https://html.spec.whatwg.org/multipage/rendering.html#:~:text=The%20%27display%27%20property%20is%20expected%20to%20act%20as%20follows) that its `<display-inside>` value be `flow-root`.
---
Fieldset also has a min size in the HTML spec, for some reason.
```css
fieldset {
min-inline-size: min-content;
}
```
But `appearance: base` probably should not include this declaration? So its `min-inline-size` is the same as a `div`.
--
GitHub Notification of comment by kirk-loretz-fsn
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11983#issuecomment-4278660323 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 20 April 2026 07:29:43 UTC