- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Wed, 01 Apr 2026 23:50:30 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-forms-1] Include fieldset and legend`, and agreed to the following: * `RESOLVED: Remove all layout magic from fieldset and legend when fieldset has appearance:base` * `RESOLVED: Fieldset border becomes 'border: 1px solid currentColor' in appearance:base` <details><summary>The full IRC log of that discussion</summary> <fantasai> emilio: Fieldset is weird. Does this weird thing where the border stops at the legend.<br> <fantasai> emilio: To me feels bit off-topic from appearance?<br> <fantasai> emilio: Also seems somewhat interoperable.<br> <fantasai> emilio: We could improve default styelsheet<br> <iank_> q+<br> <fantasai> emilio: e.g. no good dark mode border for fieldset<br> <fantasai> emilio: that's fixable<br> <astearns> ack iank_<br> <fantasai> iank_: Fieldset is busted in every implementation to some extent<br> <fantasai> iank_: So there's value to letting developers opt out of all of that and just using regular layout<br> <fantasai> iank_: Only problem then is, fieldset just becomes useless<br> <fantasai> iank_: The thing they really want it for is special legend stuff<br> <fantasai> iank_: So I don't have an opinion either way<br> <fantasai> emilio: what's the pain with using the current thing? we need to know that<br> <fantasai> emilio: if it's just ua stylesheet stuff<br> <fantasai> ntim: They don't like the magic<br> <fantasai> emilio: just make it a regular element? that's doable<br> <fantasai> iank_: seems fine<br> <fantasai> iank_: why have a field set then<br> <kizu> q+<br> <TabAtkins> I do still want the "position over border" behavior to actually exists :(<br> <fantasai> emilio: It does have some HTML behavior. For example disabling a fieldset disables all the controls in it<br> <fantasai> emilio: It is a bit weird to tack it into appearance because it doesn't use appearance right now<br> <fantasai> emilio: appearance: none has no effect on fieldset right now<br> <fantasai> emilio: But let's say it disables the magic rendering legend?<br> <fantasai> emilio: If we need something else, can do that<br> <fantasai> ntim: Can people achieve the magic with anchorpos?<br> <fantasai> TabAtkins: no, can't get the border drawing behavior<br> <fantasai> fantasai: Should definitely opt it out of magic box stuff<br> <fantasai> ntim: Also change the color<br> <fantasai> ntim: to currentColor<br> <fantasai> ntim: even in not appearance:base<br> <fantasai> fantasai: idk about not appearance:base, but def for appearance:base<br> <fantasai> kizu: 2 asks are common<br> <fantasai> kizu: 1. Opt out of the special behavior.<br> <fantasai> kizu: For quite some time there were issues when you were trying to style fieldset as flex or grid, and legend wasn't participating<br> <fantasai> kizu: Lots of issues there. Opt out of magic and use regular layout would b enice.<br> <fantasai> kizu: However thing with border disappearing under legend is also something ppl want<br> <fantasai> kizu: I remember sometime ago, one of the F2F chatted with fantasai about somewhere in the future be able to exclude or merge boxes, and it would do this with CSS<br> <fantasai> kizu: with shape() stuff we're currently doing, maybe we will be able to do something like this<br> <fantasai> kizu: where we have two elements, and say that this element removes border by excluding<br> <fantasai> kizu: But that's far in the future<br> <fantasai> kizu: Right now, appearance:base removing the magic and making the border consistent with other inputs might be enough<br> <fantasai> astearns: Proposed resolution for appearance: base to turn off all the magic<br> <fantasai> astearns: and open new issue for the border magic<br> <fantasai> ntim: Ideally reproduce the border behavior with some standard CSS features<br> <fantasai> ntim: but I'd be ok with disabling the magic for now<br> <fantasai> ntim: Maybe even for not appearance:base<br> <fantasai> emilio: Not many ppl keep the default color<br> <fantasai> astearns: So turn off all the magic and turn the border to currentColor<br> <fantasai> astearns: we could start with appearance:base and then check for other appearance values<br> <fantasai> ntim: We did it for tables<br> <fantasai> emilio: If there's a compat issue, we'll walk back.<br> <fantasai> PROPOSED: Remove all layout magic from fieldset and legend when fieldset has appearance:base<br> <fantasai> RESOLVED: Remove all layout magic from fieldset and legend when fieldset has appearance:base<br> <emilio> https://searchfox.org/firefox-main/rev/e959a4adbef21a366443993ab176f43461d38c28/layout/style/res/forms.css#68<br> <fantasai> PROPOSED: Fieldset border becomes 'border: 2px solid currentColor'<br> <fantasai> PROPOSED: Fieldset border becomes 'border: 1px solid currentColor' in appearance:base<br> <fantasai> RESOLVED: Fieldset border becomes 'border: 1px solid currentColor' in appearance:base<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11983#issuecomment-4173632845 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 April 2026 23:50:31 UTC