dsimunic / base2

Automatically exported from code.google.com/p/base2
0 stars 0 forks source link

querySelectorAll('input[type="submit"]') oddity in IE6 #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In IE6:

1. Get a form with a submit button.

2. Add with javascript an input element of type 'button'.

2. Run querySelectorAll('input[type="submit"]'). It returns the submit
button. Good.

3. Run the same querySelectorAll again. It now returns both inputs (submit+
button). Bad.

Test case (using latest lib from trunk):
http://wforms.googlecode.com/svn/trunk/sandbox/base2-IE6selectsubmit.html

Works fine in latest Safari/windows, Opera, Firefox. Not tested in IE7

Happy New Year!

Original issue reported on code.google.com by cedric.s...@gmail.com on 2 Jan 2008 at 9:04

GoogleCodeExporter commented 8 years ago
Very odd. I've managed to fix it but I'm not quite sure what was causing the 
bug. Odd.

Original comment by dean.edw...@gmail.com on 3 Jan 2008 at 2:50

GoogleCodeExporter commented 8 years ago
Fixed in 1.0 beta 2.

Original comment by dean.edw...@gmail.com on 6 Jan 2008 at 9:36