W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[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...")

From: <bugzilla@jessica.w3.org>
Date: Thu, 04 Aug 2011 09:12:37 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qotyn-0000xs-0U@jessica.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:16 UTC