Bug 219018 - Quirks mode: body fills the viewport, rather than the html element
Summary: Quirks mode: body fills the viewport, rather than the html element
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-16 20:02 PST by Andreu Botella
Modified: 2020-11-18 10:32 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreu Botella 2020-11-16 20:02:47 PST
By the Quirks Mode spec, the "body fills html" quirk sets the border box size in the block flow direction to the size of the html element minus the margins in body. However, WebKit seems to use the size of the viewport minus the margins, even when the html element has a smaller size.

Tests: https://wpt.fyi/results/quirks?label=pr_head&max-count=1&pr=26438
Comment 1 Smoley 2020-11-18 10:32:25 PST
Thanks for filing. I can reproduce this using http://wpt.live/quirks/body-fills-html-quirk.html on Safari 13.1.3 as well as STP 115 (14.1).
Comment 2 Radar WebKit Bug Importer 2020-11-18 10:32:38 PST
<rdar://problem/71545679>