Bug 240876 - Page oscillates between two different layouts
Summary: Page oscillates between two different layouts
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: 2022-05-24 09:50 PDT by Jon Lee
Modified: 2022-05-24 10:28 PDT (History)
5 users (show)

See Also:


Attachments

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