Bug 211726 - table element with align attribute doesn't change body height
Summary: table element with align attribute doesn't change body height
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-05-11 08:02 PDT by Jarek Pendowski
Modified: 2022-10-08 17:36 PDT (History)
4 users (show)

See Also:


Attachments
Minimal example of the bug (411 bytes, text/html)
2020-05-11 08:02 PDT, Jarek Pendowski
no flags Details

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