[Bug 7834] "If a new element is inserted between the two nodes that define pointer" - s/element/node/

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7834


Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simonp@opera.com
           Keywords|                            |NE




--- Comment #1 from Simon Pieters <simonp@opera.com>  2009-10-08 08:33:10 ---
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).


-- 
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 Thursday, 8 October 2009 08:33:12 UTC