[Bug 26609] AttrExodus: investigate child nodes of attributes and attributes being nodes

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26609

--- Comment #1 from Anne <annevk@annevk.nl> ---
Gecko throws when you attempt to mutate an attribute's children and acts as if
an attribute has no children. E.g. attr.firstChild returns null.
attr.appendChild() throws a "HierarchyRequestError".

Chrome allows mutating attribute children. Inserting a text node modifies both
the inserted text node and the text node already present.

IE10 throws just like Gecko. However, it does pretend there is either no child
or a single text node child.

Hopefully Chrome can start throwing for mutation. And hopefully it can even
emulate Gecko in not exposing any children.

(I'm assuming Safari is the same as Chrome here.)


Now if these methods simply throw, removing them should be possible so there's
still hope for attributes not being nodes I think.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 20 August 2014 11:36:27 UTC