Bug 240876

Summary: Page oscillates between two different layouts
Product: WebKit Reporter: Jon Lee <jonlee554>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, gsnedders, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Jon Lee 2022-05-24 09:50:50 PDT
On 21F79, both in stock Safari and the latest STP,

https://nbss.edu/continuing-education/

Make the viewport width wide. The calendar in the lower part of the page oscillates between two layouts.

Does not happen in Chrome.
Comment 1 Radar WebKit Bug Importer 2022-05-24 10:08:37 PDT
<rdar://problem/93841257>
Comment 2 zalan 2022-05-24 10:12:43 PDT
iframe resizing from JS:

case "resize":
  return e("Got message 'resize', resizing iFrame height to " + o[2] + "px."), this.container.children[0].style.height = o[2] + "px", t();
Comment 3 Radar WebKit Bug Importer 2022-05-24 10:12:53 PDT
<rdar://problem/93841626>
Comment 4 Sam Sneddon [:gsnedders] 2022-05-24 10:28:13 PDT
It seems to be resizing the iframe to `$('body').outerHeight(true) + 48` within the iframe; not sure where 48 comes from, maybe related to default scrollbar size?