Bug 219018

Summary: Quirks mode: body fills the viewport, rather than the html element
Product: WebKit Reporter: Andreu Botella <andreu>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andreu, bfulgham, simon.fraser, smoley, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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>