[Webkit-unassigned] [Bug 91573] Spec's suggested missing value default for preload attribute is metadata, not auto

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 18 11:33:04 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=91573





--- Comment #1 from Eric Carlson <eric.carlson at apple.com>  2012-07-18 11:33:04 PST ---
(In reply to comment #0)
> Comments within the HTMLMediaElement::parseAttribute function of WebCore/html/HTMLMediaElement.cpp say:
> 
> // The spec does not define an "invalid value default" but "auto" is suggested as the
> // "missing value default", so use it for everything except "none" and "metadata"
> 
> however the HTML5 spec has since been changed. It currently reads:
> 
> "The attribute's missing value default is user-agent defined, though the Metadata state is suggested as a compromise between reducing server load and providing an optimal user experience."
> 
> For mobile and low-bandwidth users especially, WebKit's missing value default for the preload attribute should be changed from "auto" to "metadata" as the spec suggests.

The code near that comment is concerned with the "invalid value default", not the "missing value default". 

If WebKit does change the default to "metadata", the initialization of m_preload to MediaPlayer::Auto would need to change.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list