WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
249044
In a page that has an element with float and shape-outside, clicking a link crashes the tab
https://bugs.webkit.org/show_bug.cgi?id=249044
Summary
In a page that has an element with float and shape-outside, clicking a link c...
Wes Souza
Reported
2022-12-09 14:26:40 PST
Created
attachment 463970
[details]
Video capture of the issue on iOS 16.2 RC It seems if an element has CSS float and shape-outside set, long-pressing on links crashes the tab. If the link opens in a new tab, clicking the link opens the same tab on a new tab. <div>Test</div> <a href="
https://www.example.com/
" target="_blank">Link</a> <style> div { float: right; shape-outside: url('data:image/svg+xml,<svg xmlns="
http://www.w3.org/2000/svg
" viewBox="0 0 100 100" preserveAspectRatio="none"><rect x="0" y="0" width="100" height="100"></rect></svg>'); } </style> Reproduction:
https://codepen.io/wessouza/pen/VwdNbKK
Found by the Svelte team on
https://kit.svelte.dev/
(fixed by removing the shape-outside property
https://github.com/sveltejs/kit/pull/8028/files
)
Attachments
Video capture of the issue on iOS 16.2 RC
(3.99 MB, video/mp4)
2022-12-09 14:26 PST
,
Wes Souza
no flags
Details
crashing test
(806 bytes, text/html)
2022-12-11 16:11 PST
,
Karl Dubost
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-12-09 14:32:46 PST
<
rdar://problem/103194840
>
Karl Dubost
Comment 2
2022-12-11 16:11:07 PST
Created
attachment 463996
[details]
crashing test Thanks a lot for the codepen. From the discussion in
https://github.com/sveltejs/kit/issues/8025
This happened on iOS Safari, but not iOS Firefox. Let's convert the codepen as an individual test.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug