Bug 211726

Summary: table element with align attribute doesn't change body height
Product: WebKit Reporter: Jarek Pendowski <jarek>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ahmad.saleem792, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Minimal example of the bug none

Description Jarek Pendowski 2020-05-11 08:02:49 PDT
Created attachment 399018 [details]
Minimal example of the bug

Noticed when working with a mailing HTML that still uses a lot of nested tables that when a table element has an `align` attribute set to anything reasonable (left, right, center) the `scrollHeight` and `clientHeight` of the `body` containing that table is 0.

Distilled the mailing to the smallest example that's still not working.
Comment 1 Radar WebKit Bug Importer 2020-05-12 14:10:51 PDT
<rdar://problem/63153236>
Comment 2 Jarek Pendowski 2020-05-13 04:44:55 PDT
Oh - I'm sure you check this kind of stuff yourself but it works fine in Firefox and Chrome. Especially the last one could be some hint into what's different between WebKit and Chromium?
Comment 3 Ahmad Saleem 2022-10-08 17:36:18 PDT
I am able to reproduce this bug in Safari Technology Preview 155 where it shows "BROKEN NOW" dialog box while all other browsers (Chrome Canary 108 and Firefox Nightly 107) does not show these dialog boxes. Thanks!