getElementsByName should match any element

It seems getElementsByName as specified in HTML5 does not match what WebKit, Gecko and Opera do.

HTML5 says to only match a certain set of elements with a name attribute. WebKit and Gecko match any element (in any namespace) with a name attribute. Doing what the spec says will likely break pages [1], so we'll probably align with WebKit and Gecko here.

[1] http://my.opera.com/hallvors/blog/show.dml/265582

-- 
Simon Pieters
Opera Software

Received on Thursday, 14 May 2009 14:56:18 UTC