[whatwg] Inconsistency with the Pick a Media Resource Algorithm

Ian Hickson ian at hixie.ch
Wed May 14 12:43:20 PDT 2008


On Sun, 11 Nov 2007, Lachlan Hunt wrote:
>
>   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.

Removed the note.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list