New issue
Advanced search Search tips

Issue 592139 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Compat



Sign in to add a comment

link rel=preload does not work with as="stylesheet"

Reported by scottj...@gmail.com, Mar 4 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36

Example URL:
http://scottjehl.com/css-temp/relpreloadbug.html

Steps to reproduce the problem:
1. Enable experimental web platform features in chrome://flags
2. go to http://scottjehl.com/css-temp/relpreloadbug.html
3. referenced css is not fetched and the console says: "<link rel=preload> must have a valid `as` value"

What is the expected behavior?
The css file should be loaded as a stylesheet.

Spec says "as=stylesheet" is the proper value.  https://www.w3.org/TR/2015/WD-preload-20150721/

What went wrong?
No file loaded

Does it occur on multiple sites: N/A

Is it a problem with a plugin? N/A 

Did this work before? Yes It works in canary when you use as=style, though that's not valid per spec

Does this work in other browsers? N/A 

Chrome version: 49.0.2623.75  Channel: n/a
OS Version: OS X 10.11.3
Flash Version:
 
Components: Blink>CSS
Labels: -OS-Mac OS-All
This needs triage by someone in Blink>CSS. Removing Mac keyword, since this doesn't appear to be Mac-specific.
Components: -Blink>CSS Blink>Loader
The version of the spec that was used to file this bug was unfortunately outdated.
The latest has as=style, which does work in Canary.

https://www.w3.org/TR/preload/
(so, I think this should be closed. Thanks and sorry for the confusion.)
Status: WontFix (was: Unconfirmed)
WontFix per #4

Sign in to add a comment