Bug 248087
| Summary: | Align "fieldset" and "legend" with web-spec and not follow "display type: block" or equivalent | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | karlcow, ntim, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
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
<rdar://problem/102670265>