This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28951 - The preload attribute is case-insensitive in all browsers
Summary: The preload attribute is case-insensitive in all browsers
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#attr-me...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-15 08:50 UTC by contributor
Modified: 2015-08-25 07:07 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2015-07-15 08:50:24 UTC
Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#attr-media-preload
Complete: https://html.spec.whatwg.org/#attr-media-preload
Referrer: 

Comment:
The preload attribute is case-insensitive in all browsers

Posted from: 212.116.72.179
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2398.0 Safari/537.36 OPR/31.0.1876.0 (Edition developer)
Comment 1 Philip Jägenstedt 2015-07-15 08:52:44 UTC
All tested engines (Blink, Gecko, Presto, IE11 and WebKit) do case-insensitive matching of the preload attribute, so e.g. setting preload="NONE" will reflect it as "none" and presumably also behave like preload="none".

This is a bit silly, but pretty harmless, so I suggest changing the spec instead of trying to change all the browsers.
Comment 2 Simon Pieters 2015-08-24 20:09:47 UTC
"The preload attribute is an enumerated attribute."
->
"... ASCII case-insensitive ..."

https://html.spec.whatwg.org/multipage/infrastructure.html#enumerated-attribute
Comment 3 Philip Jägenstedt 2015-08-25 07:07:41 UTC
Oh... thanks!