Re: [csswg-drafts] [css-forms-1] Add a way to reproduce fieldset/legend border magic in CSS (#13757)

I suspect there's already a way today using something like anchor or just relative positioning, doing the necessary positioning and giving the legend a white (or appropriate) background colour so it paints over the border of the fieldset. But I agree it would be useful to do this in a nicer way.

Similar patterns exist where you want to position text over a HR which under the hood I think is similar (breaking a border).



-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13757#issuecomment-4175613233 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 2 April 2026 08:35:17 UTC