W3C home > Mailing lists > Public > public-html@w3.org > October 2009

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 08 Oct 2009 08:33:10 +0000
To: public-html@w3.org
Message-Id: <E1MvoQw-0002fF-RY@wiggum.w3.org>
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 on the CC list for the bug.
Received on Thursday, 8 October 2009 08:33:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:09 UTC