Bug 244947

Summary: Don't force display:table-cell, display:inline-table/table and float:none on table cell elements when in quirks mode
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: TablesAssignee: Ahmad Saleem <ahmad.saleem792>
Status: RESOLVED FIXED    
Severity: Normal CC: karlcow, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2022-09-08 14:09:03 PDT
Hi Team,

Currently we have following Quirk Behavior in our code:

https://github.com/WebKit/WebKit/blob/main/Source/WebCore/style/StyleAdjuster.cpp#L287

Which Chrome / Blink removed as part of this commit:

https://chromium.googlesource.com/chromium/src.git/+/95773a85549dc14dbb42d665dadd7875d05df0a1

I am going to remove this as well from the Webkit. I was not able to find related bug, hence I am creating this one so I can try to remove this from Webkit as well and match Gecko and Blink.

Thanks!
Comment 1 Ahmad Saleem 2022-09-08 14:14:22 PDT
I will try to fix this after this PR:

https://github.com/WebKit/WebKit/pull/4114

Since otherwise there will be a conflict.
Comment 2 Ahmad Saleem 2022-09-08 15:12:18 PDT
I'll delete "inline" quirk in same go as well:

https://chromium.googlesource.com/chromium/src.git/+/0aea8a9a12d5a3b60bb022953825f900f90e7b4b
Comment 3 Radar WebKit Bug Importer 2022-09-09 15:24:34 PDT
<rdar://problem/99761898>
Comment 4 EWS 2022-09-14 07:52:45 PDT
Committed 254475@main (840ec41f4b7e): <https://commits.webkit.org/254475@main>

Reviewed commits have been landed. Closing PR #4233 and removing active labels.