- From: Loirooriol via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Jul 2017 18:44:50 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-display] <legend> with no box == In [Box Generation](https://drafts.csswg.org/css-display-3/#box-generation), the spec says that `none` and `contents` cannot affect > whether a [`<legend>`](https://html.spec.whatwg.org/multipage/form-elements.html#the-legend-element) is the name of a [`<fieldset>`](https://html.spec.whatwg.org/multipage/form-elements.html#the-fieldset-element). But in [Appendix B](https://drafts.csswg.org/css-display-3/#unbox), > Per HTML, a [`<legend>`](https://html.spec.whatwg.org/multipage/form-elements.html#the-legend-element) with [`display: contents`](https://drafts.csswg.org/css-display-3/#propdef-display) is not a [rendered legend](https://html.spec.whatwg.org/multipage/rendering.html#rendered-legend), so it does not have magical display behavior. (Thus, it reacts to [`display: contents`](https://drafts.csswg.org/css-display-3/#propdef-display) normally.) Not sure what exactly the first quote means with "name of a fieldset", my guess is that it refers to the rendered legend, but that contradicts the 2nd quote. If it means something else, please clarify. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1584 using your GitHub account
Received on Thursday, 6 July 2017 18:44:56 UTC