[Webkit-unassigned] [Bug 237476] New: Safari 15 does not load font awesome in IFRAME

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 4 10:20:08 PST 2022


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

            Bug ID: 237476
           Summary: Safari 15 does not load font awesome in IFRAME
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Frames
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ivberezansky at gmail.com

Created attachment 453854

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

Example of wrong behavior

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  </head>
  <body>
    <iframe  width="600" height="300" src=""></iframe>
    <script type="text/javascript">
      $(function() {
        var f = $('iframe')[0];
          wnd = f.contentWindow,
          doc = f.contentDocument;
        if(wnd.stop) {
          wnd.stop();
        }
        $(doc.head).append('<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css">');
        $(doc.body).html('{<i class="fa fa-angle-left"></i><i class="fa fa-angle-right"></i>}');
      });
    </script>
  </body>
</html>

instead symbols Safari shows squares.

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

-- 
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/20220304/445774cc/attachment.htm>


More information about the webkit-unassigned mailing list