Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 7687 by ilinsky: HTML4 link element wrong processing behavior  
(type="custom/mime+type" vs. rel="stylesheet")
http://code.google.com/p/chromium/issues/detail?id=7687

Chrome Version       : 1.0.154.48
URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3: Unknown
     Firefox 3: OK
          IE 7: OK
     Opera 9.5: OK

What steps will reproduce the problem?
1. Create an HTML page and put link tag in the head section:
<link href="custom/mime+type" rel="stylesheet" href="href.css" />

What is the expected result?
The contents of file doesn't get fetched by the browser, neither should it
be processed

What happens instead?
File is requested from server, stylesheet added to the document

Please provide any additional information below. Attach a screenshot if
possible.
a) The browser should not try to fetch/process resources with mime-types it
doesn't know. The presence of rel="stylesheet" should not be considered as
sufficient information, since a stylesheet can be written in other
language, not only CSS.
Indded when @type attribute is missing, browser can, I believe, decide to
fetch and process resource based on the value of @rel.

b) Also, Chrome differs from other browsers with respect to how it handles
link tag when no rel="stylesheet" is specified (but type="text/css"). Other
browsers will not load/process CSS, while Chrome would.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to