[Webkit-unassigned] [Bug 249044] New: In a page that has an element with float and shape-outside, clicking a link crashes the tab

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 9 14:26:40 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249044

            Bug ID: 249044
           Summary: In a page that has an element with float and
                    shape-outside, clicking a link crashes the tab
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wesleydesouza at me.com

Created attachment 463970

  --> https://bugs.webkit.org/attachment.cgi?id=463970&action=review

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221209/0e4c3761/attachment.htm>


More information about the webkit-unassigned mailing list