[Webkit-unassigned] [Bug 183666] New: Safari fails to load dynamic stylesheets
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 15 10:56:03 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=183666
Bug ID: 183666
Summary: Safari fails to load dynamic stylesheets
Product: WebKit
Version: Safari Technology Preview
Hardware: All
OS: All
Status: NEW
Severity: Critical
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: shimon.schwartz at cbsinteractive.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 335862
--> https://bugs.webkit.org/attachment.cgi?id=335862&action=review
Example
Summary:
Safari fails to load a stylesheet via a link tag that was modified at the runtime.
Steps to Reproduce:
1. create a blank html5 page
2. add a <link rel="preload" as="style" href="{ stylesheet url }"> tag
3. add a script that executes on window load event, which updates the above tag rel attribute to "stylesheet"
See attached code as an example.
Expected Results:
CSS loads and is applied to the page
Actual Results:
CSS never loads
This works on Safari 11.0 and older, and on all other browsers
Version/Build:
Safari 11.1 beta 4, both desktop and iOS
--
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/20180315/43125d71/attachment.html>
More information about the webkit-unassigned
mailing list