[Bug 13671] http://html5.org/tools/web-apps-tracker?from=6359&to=6360 - shouldn't it be "If <var title="">n</var> is greater than *zero*" ? (step 4 says "If n is zero...")

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

--- Comment #1 from Simon Pieters <simonp@opera.com> 2011-08-04 09:12:36 UTC ---
let's say you have <select></select> and do select[1] = option;
length is 0, index is 1, n is 1
n is not greater than 1, and it's not zero, so per spec it does nothing
the spec is wrong in another way too
it says to append n new option elements, but it should append n-1 new option
elements and then append value

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1093

-- 
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, 4 August 2011 09:12:38 UTC