-
Notifications
You must be signed in to change notification settings - Fork 707
[css-display-3] grid/flex layout support for <fieldset> #321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There's nothing magical about 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. |
@gregwhitworth Do you have an idea/insight as to why IE->Edge changed behaviour here? |
hmmm, odd. I don't know off hand; I'll need to dig through our changes to figure out where this changed and why. |
Closing as invalid, as this isn't a spec issue and @gregwhitworth hasn't come up with a reason for it to become one... |
amazing component but inability to flex the fieldset is upsetting indeed. |
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. |
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. |
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>
withdisplay: flex
.Test case: http://codepen.io/anon/pen/MaYBoX
or a shorter version:
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.According to http://www.w3.org/TR/CSS21/visuren.html#display-prop the
display
property “Applies to: all elements”.Can we decide whether 'display' property should have rendering effect on
<fieldset>
.The text was updated successfully, but these errors were encountered: