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 7632 - Should resource selection algorithm be run when src="" is removed?
Summary: Should resource selection algorithm be run when src="" is removed?
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
Keywords: NE
Depends on:
Reported: 2009-09-15 14:43 UTC by Simon Pieters
Modified: 2010-10-04 14:57 UTC (History)
4 users (show)

See Also:


Description Simon Pieters 2009-09-15 14:43:04 UTC
The spec says

"If a src attribute of a media element that is in a Document and whose networkState has the value NETWORK_EMPTY is set or changed, the user agent must invoke the media element's resource selection algorithm."

Should the resource selection algorithm be run when the attribute is removed? Please state explicitly. (It makes a difference if the element has <source> children.)
Comment 1 Simon Pieters 2009-09-15 15:34:50 UTC
Also, please be explicit about setting it to its previous value.
Comment 2 Ian 'Hixie' Hickson 2009-09-21 09:29:01 UTC
Clarified the removing thing. The spec already defines the meaning of "changed" regarding your second query.
Comment 3 contributor 2009-09-21 09:29:47 UTC
Checked in as WHATWG revision r3925.
Check-in comment: Clarify that removing src='' has no effect.