Bug 252541
| Summary: | Computed display of form inside should be display:none | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Tables | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ntim, rniwa, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
Hi Team,
While going through HTML Standard, I noticed this peculiar UA stylesheet rule:
:is(table, thead, tbody, tfoot, tr) > form { display: none !important; }
in - https://html.spec.whatwg.org/multipage/rendering.html#tables-2
and adding this will lead to fix 10 WPT tests:
http://wpt.live/html/rendering/non-replaced-elements/tables/form-in-tables.html
I have tested this locally as well.
Just wanted to get input whether if anything else is required or I can do this change?
Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
PR - https://github.com/WebKit/WebKit/pull/10344
As is, it is regressing "form-in-tables-xhtml.xhtml" testcase, I am looking into on how to fix it.
:-)
Radar WebKit Bug Importer
<rdar://problem/105932450>
EWS
Committed 265283@main (78b54052c50b): <https://commits.webkit.org/265283@main>
Reviewed commits have been landed. Closing PR #15075 and removing active labels.