You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[css-display-3] grid/flex layout support for <fieldset> #321
I’m investigating an interop issue with grid/flex layout for <fieldset>. As you can see from the table below the grid/flex layout support of <fieldset> varies a lot between browsers. Only Firefox and IE 11 handle <fieldset> with display: flex.
It’s interesting that Edge removed <fieldset>’s flex layout support that was supported in IE11. May be someone from Microsoft can share some insights about this decision.
Can we decide whether 'display' property should have rendering effect on <fieldset>.
Reacted by Jon Koops, Tom Rogers, Gabriele Tomberli, Robin Neal, Alec Lomas, Michael Pumo, Lazar Ljubenović, Dustin Poissant, Joachim Tillessen, B3tr33TestAccount and 2 more
There's nothing magical about <fieldset>per spec - it should just be a block normally, and accept other display values like everything else does.
In practice, it's magic in ways that are completely unexplained in CSS, and we haven't wanted to generalize that magic so we've never really tried to explain it.
Reacted by David Nunez, Michael Pumo, Eugene Tulushev, Vladyslav Zubko and Jermaine
Closing as invalid, as this isn't a spec issue and @gregwhitworth hasn't come up with a reason for it to become one...
Reacted by Jonathan Yu
Reacted by David Nunez, Gabriele Tomberli, Robin Neal, Lazar Ljubenović, Sam Gale, Marcin Palmaka, Robin Hamill, Matthew Davidson, J Silverstein, Jonathan Kempf and 7 more
Problem still seems to be here. Anyone know about the trying to extend it as Custom Element? I had hoped to use it to wrap inputs, buttons etc. and have them all fire back top the same form wherever it may be.
Activity
gl3bl commentedon Jul 14, 2016
@gregwhitworth
tabatkins commentedon Jul 14, 2016
There's nothing magical about
<fieldset>per spec - it should just be a block normally, and accept other display values like everything else does.In practice, it's magic in ways that are completely unexplained in CSS, and we haven't wanted to generalize that magic so we've never really tried to explain it.
bfgeek commentedon Jul 18, 2016
@gregwhitworth Do you have an idea/insight as to why IE->Edge changed behaviour here?
gregwhitworth commentedon Sep 13, 2016
hmmm, odd. I don't know off hand; I'll need to dig through our changes to figure out where this changed and why.
fantasai commentedon Feb 14, 2017
Closing as invalid, as this isn't a spec issue and @gregwhitworth hasn't come up with a reason for it to become one...
botmad commentedon Dec 6, 2018
amazing component but inability to flex the fieldset is upsetting indeed.
jfrazzano commentedon Nov 1, 2019
Problem still seems to be here. Anyone know about the trying to extend it as Custom Element? I had hoped to use it to wrap inputs, buttons etc. and have them all fire back top the same form wherever it may be.
emilio commentedon Nov 3, 2019
To be clear, @zcorpan did a bunch of work specifying the fieldset rendering (see whatwg/html#3934), and I believe behavior here should be clear.
This is just a Chromium bug (I think WebKit / Safari fixed it), so instead of complaining here is not useful, people should refer to https://bugs.chromium.org/p/chromium/issues/detail?id=375693 instead.