Bug 252541

Summary: Computed display of form inside should be display:none
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: TablesAssignee: 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
Reported 2023-02-18 17:18:27 PST
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
Ahmad Saleem
Comment 1 2023-02-19 05:38:12 PST
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
Comment 2 2023-02-25 17:19:17 PST
EWS
Comment 3 2023-06-18 01:06:28 PDT
Committed 265283@main (78b54052c50b): <https://commits.webkit.org/265283@main> Reviewed commits have been landed. Closing PR #15075 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.