WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
248087
Align "fieldset" and "legend" with web-spec and not follow "display type: block" or equivalent
https://bugs.webkit.org/show_bug.cgi?id=248087
Summary
Align "fieldset" and "legend" with web-spec and not follow "display type: blo...
Ahmad Saleem
Reported
2022-11-18 09:44:52 PST
Hi Team, I manage to partially fix
bug 116031
by improving our current implementation by styling 'legend' from "display type: block" to equivalent of Block types and it improve our web compatibility but we are still not as good as other browsers (especially Firefox). Web-Spec -
https://html.spec.whatwg.org/multipage/rendering.html#the-fieldset-and-legend-elements:the-legend-element
Following was mentioned by Tim on the PR -
https://github.com/WebKit/WebKit/pull/6516
"Although there's quite a bit of work to make it match the spec like Firefox does, e.g.: the computed value of display shouldn't change (this is what the rest of failures are) this should only apply to "rendered legends" (e.g. the legend has to be part of a fieldset) Thanks!" and just for tracking better - following commit added "display type: block" -
https://trac.webkit.org/changeset/41538/webkit
Just wanted to raise it for tracking purposes. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-11-25 09:45:16 PST
<
rdar://problem/102670265
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug