W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2007

[whatwg] Inconsistency with the Pick a Media Resource Algorithm

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 11 Nov 2007 17:17:15 +0100
Message-ID: <47372B0B.1030701@lachy.id.au>
   Just after the algorithm for picking a media resource, there's a note 
that states:

| A source element with no src attribute is assumed to be the last
| source element ? any source elements after it are ignored (and are
| invalid).

However, that does not seem to be consistent with the actual algorithm, 
which just treats a source element with a missing src attribute as an 
unsuitable candidate and moves to the next.  I suggest you either remove 
the note or revise the algorithm so that it aborts after encountering a 
source element with no src attribute.


Lachlan Hunt - Opera Software
Received on Sunday, 11 November 2007 08:17:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:38 UTC