Bug 238316

Summary: [model] Standalone model document window resize changes camera lookAt and moves 3D asset out of sight
Product: WebKit Reporter: Thomas Kumlehn <pixelpartner>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Apple Silicon)   
OS: macOS 12   

Description Thomas Kumlehn 2022-03-24 00:24:58 PDT
I tested r142 on macOS12.3 with a standalone model document loaded from this URL: https://kreativekk.de/wp-content/uploads/ar/K3-CNC-Demo.usdz

Resizing the window showed unexpected behaviour:

When the height is changed, the 3D asset is not kept in the camera center and can move out of sight.
Same for a window width below the default <model> width, but both horizontally and vertically.

While testing, SafariTP r142 crashed twice as reported separately.
Comment 1 Radar WebKit Bug Importer 2022-03-24 16:09:27 PDT
<rdar://problem/90799875>