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 25019 - Be explicit about "When a media element is created, if it has a muted attribute specified"
Summary: Be explicit about "When a media element is created, if it has a muted attribu...
Status: RESOLVED FIXED
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: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-12 14:55 UTC by contributor
Modified: 2014-05-02 09:30 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2014-03-12 14:55:15 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#user-interface
Complete: http://www.whatwg.org/c#user-interface
Referrer: 

Comment:
Be explicit about "When a media element is created"

Posted from: 58.187.24.192
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36 OPR/20.0.1387.59 (Edition Next)
Comment 1 Philip Jägenstedt 2014-03-12 14:57:32 UTC
The spec isn't as explicit as it could be about when the muted IDL attribute is set when the muted content attribute is present:

https://github.com/foolip/web-platform-tests/commit/83fa234dcada084bd23fffd6a3b94144f1d2bb7f#commitcomment-5645539
Comment 2 Philip Jägenstedt 2014-03-12 15:00:30 UTC
Instead of "the user agent must mute the media element's audio output, overriding any user preference." say "the user agent must set the muted (IDL) attribute"

I guess the reason it doesn't already say this is because the result looks like nonsense unless you understand that there are two muted attributes...
Comment 3 Ian 'Hixie' Hickson 2014-05-01 21:44:24 UTC
This is purely editorial, right? (There's normative changes proposed in bug 25153 and bug 25460, of course.)

I've tried to clean up the current text without making changes for now. Reopen the bug if it's still not clear.
Comment 4 contributor 2014-05-01 21:44:39 UTC
Checked in as WHATWG revision r8596.
Check-in comment: Reword the muted/volume logic. This shouldn't have a normative effect, but should be easier to read, and should make potential future changes easier to make.
http://html5.org/tools/web-apps-tracker?from=8595&to=8596
Comment 5 Philip Jägenstedt 2014-05-02 09:30:03 UTC
Yes, this was editorial. I've reviewed the diff and think it's a big improvement, with a muted concept that is separate from the IDL and content attributes.