Bug 265164 - svg without preserveAspectRatio none differs in a flex context
Summary: svg without preserveAspectRatio none differs in a flex context
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://codepen.io/hteumeuleu/pen/MWL...
Keywords: BrowserCompat, InRadar, LayerBasedSVGEngine
Depends on:
Blocks:
 
Reported: 2023-11-20 16:19 PST by Karl Dubost
Modified: 2023-11-20 17:13 PST (History)
5 users (show)

See Also:


Attachments
rendering in safari, firefox, chrome (433.75 KB, image/png)
2023-11-20 17:13 PST, Karl Dubost
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2023-11-20 16:19:22 PST
0. With STP 182 on macOS
1. Go to https://codepen.io/hteumeuleu/pen/MWLVwQb
2. Repeat with Firefox Nightly and Chrome Canary

Result: 
notice how the SVG is not stretched for Safari but it is for Chrome and Firefox.

Notes:
* Adding preserveAspectRatio="none" on the SVG fixes it. 
* Also wonder if it is similar to Bug 216145
Comment 1 Radar WebKit Bug Importer 2023-11-20 17:01:46 PST
<rdar://problem/118665653>
Comment 2 Ahmad Saleem 2023-11-20 17:09:35 PST
Fails in LBSE as well. Adding related tag to track 'LBSE' specific failures.
Comment 3 Karl Dubost 2023-11-20 17:13:32 PST
Created attachment 468693 [details]
rendering in safari, firefox, chrome