[Webkit-unassigned] [Bug 191466] New: CSS @imports in HTML missing quote marks are mistakenly hidden from the Preload Scanner
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 9 05:25:20 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=191466
Bug ID: 191466
Summary: CSS @imports in HTML missing quote marks are
mistakenly hidden from the Preload Scanner
Product: WebKit
Version: Safari 12
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Page Loading
Assignee: webkit-unassigned at lists.webkit.org
Reporter: csswizardry at gmail.com
CC: beidson at apple.com
**Example URL:**
https://csswizardry.com/demos/2018/11/import/blocked-by-css.html OR https://csswizardry.com/demos/2018/11/import/blocked-by-js.html
**Steps to reproduce the problem:**
1. Have a page with a synchronous `<link rel="stylesheet" />` and/or synchronous `<script src="">` BEFORE an in-page `@import url(style.css)` that omits the optional quote marks.
2. Reload page with Network panel open
3. Note lack of parallelisation: files are serialised
4. Edit `@import url(style.css)` to be `@import url("style.css")` (note addition of quote marks)
5. Refresh and observe waterfall
6. Parallelisation!
**What is the expected behaviour?**
I would expect the Preload Scanner to identify the IMPORT regardless of the presence of quote marks
**What went wrong?**
The Preload Scanner isn’t noticing @import URLs that omit OPTIONAL quotes
--
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/20181109/8ed03dee/attachment.html>
More information about the webkit-unassigned
mailing list