- From: Ilya Streltsyn via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Oct 2018 19:29:56 +0000
- To: public-css-archive@w3.org
> turning it on can be restricted to solely the fieldset/legend elements For me, as an author, this sounds like a terrible mistake (with all due respect). Authors often ask for the visual effect similar to the default rendering of the `legend` inside `fieldset`, and sometimes people suggest using `fieldset` just for this visual effect ([example](https://www.impressivewebs.com/centered-heading-horizontal-line/#comment-10959)). Restricting the "magic" to this element would encourage those people to keep (mis)using the `fieldset` element for this presentational purpose. I'd prefer removing "the magical part" from this behavior, by defining in more generic CSS terms (even currently largely experimental, like `backdrop-filter` or `mix-blend-mode`). When these properties become more supported, browsers would be able to migrate from the current "magic" behavior to the _visually equivalent_ non-magic one, and then drop the "magic" legacy altogether. I believe that explicit and reusable CSS features should eventually replace the historical "magic" artifacts, not the other way round. The history of `display: flow-root`, which also was previously a "magic" pecularity of the `fieldset` rendering, seems a good example of such process to me. -- GitHub Notification of comment by SelenIT Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3094#issuecomment-434047614 using your GitHub account
Received on Monday, 29 October 2018 19:29:58 UTC