Bug 270550 - The SVG image has incorrect size when it has fixed size and preserveAspectRatio="none" but the container has percent size
Summary: The SVG image has incorrect size when it has fixed size and preserveAspectRat...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2024-03-05 17:00 PST by Said Abou-Hallawa
Modified: 2024-03-05 22:03 PST (History)
5 users (show)

See Also:


Attachments
test case (759 bytes, text/html)
2024-03-05 17:00 PST, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2024-03-05 17:00:54 PST
Created attachment 470189 [details]
test case

Open the attached test case and resize the window.

Result: the image size keep changing between preserving the aspect ratio and ignoring it.
Comment 1 Radar WebKit Bug Importer 2024-03-05 17:01:29 PST
<rdar://problem/124106110>
Comment 3 Karl Dubost 2024-03-05 22:03:56 PST
Just to make it clear:

1. Open https://bugs.webkit.org/attachment.cgi?id=470189 in Safari
2. Resize the window

Results:
The green ball is bouncing/vibrating
The resizing is smooth in other browsers.