NEW 172718
legend should only create a block formatting context if it is the "rendered legend"
https://bugs.webkit.org/show_bug.cgi?id=172718
Summary legend should only create a block formatting context if it is the "rendered l...
Simon Pieters (:zcorpan)
Reported 2017-05-30 08:24:34 PDT
<legend> in WebKit avoids floats but otherwise does not create a block formatting context (like in Chromium). This is weird, and not a behavior supported by CSS, and is not interoperable with Gecko or EdgeHTML. The proposal is to make only the "rendered legend" (https://html.spec.whatwg.org/#rendered-legend ) create an actual block formatting context, to make <legend> in general have less magic. This issue in Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=727378 Discussion: https://github.com/whatwg/html/issues/2519 Proposed spec change: https://github.com/whatwg/html/pull/2718 In-progress CL for Chromium: https://chromium-review.googlesource.com/c/512824/ web-platform-tests: none yet Please raise any concerns in https://github.com/whatwg/html/issues/2519
Attachments
Ahmad Saleem
Comment 1 2022-11-15 04:24:26 PST
Ahmad Saleem
Comment 2 2023-02-22 08:43:44 PST
* Subtests: in-body: width in-fieldset-second-child: width in-fieldset-descendant: width
Note You need to log in before you can comment on or make changes to this bug.