- From: <bugzilla@jessica.w3.org>
- Date: Wed, 24 Aug 2011 10:51:53 +0000
- To: www-validator-cvs@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13886
Summary: Audio Source broken?
Product: Validator
Version: HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: HTML5
AssignedTo: mike@w3.org
ReportedBy: j.chetwynd@btinternet.com
QAContact: www-validator-cvs@w3.org
this snippet
<audio >
<source src="audio/atari.mp3" />
<source src="audio/atari.ogg" />
</audio>
produces an error on the validator:
Line xxx, Column xx: Element source not allowed as child of element audio in
this context. (Suppressing further errors from this subtree.)
<source src="audio/go.ogg" />
Contexts in which element source may be used:
As a child of a media element, before any flow content or track elements.
Content model for element audio:
If the element has a src attribute: zero or more track elements, then
transparent, but with no media element descendants.
If the element does not have a src attribute: one or more source elements, then
zero or more track elements, then transparent, but with no media element
descendants.
yet seems similar to:
http://www.whatwg.org/specs/web
<video controls autoplay>
<source src='video.mp4' type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
<source src='video.ogv' type='video/ogg; codecs="theora, vorbis"'
onerror="fallback(parentNode)">
...
</video>
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 24 August 2011 10:51:59 UTC