This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Section: http://www.whatwg.org/specs/web-apps/current-work/#loading-the-media-resource Comment: "If a new element is inserted between the two nodes that define pointer" - s/element/node/ Posted from: 88.131.66.80
Actually... the spec seems bogus here. Consider <video><source> <source></video> Here, pointer is initially between the first source and the text node. Now consider a script that removes the text node. Removing a text node does not update pointer, because a text node is not an element; the spec says "As *elements* are inserted and removed into the media element, pointer must be updated as follows:" and "Other changes don't affect pointer.". The spec should be consistent and say to look at all types of nodes, or pointer should be defined by just element nodes, or pointer should be defined by just "source" element nodes (the last option will probably most closely match implementations).
"node" is used to mean something other than a DOM node in the spec, as it says "treating the start of the list (before the first child in the list, if any) and end of the list (after the last child in the list, if any) as nodes in their own right."
Changed to refer to nodes, not elements.
Checked in as WHATWG revision r4194. Check-in comment: Change 'pointer' (part of the resource selection algorithm) to operate only on nodes, not elements. http://html5.org/tools/web-apps-tracker?from=4193&to=4194