Bug 252541 - Computed display of form inside should be display:none
Summary: Computed display of form inside should be display:none
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-18 17:18 PST by Ahmad Saleem
Modified: 2023-06-18 01:06 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 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!
Comment 1 Ahmad Saleem 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. 

:-)
Comment 2 Radar WebKit Bug Importer 2023-02-25 17:19:17 PST
<rdar://problem/105932450>
Comment 3 EWS 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.