[Webkit-unassigned] [Bug 88749] HTMLSelectElement::selectedOptions returns wrong collection
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 14 23:47:21 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=88749
--- Comment #1 from Kent Tamura <tkent at chromium.org> 2012-06-14 23:47:20 PST ---
I'll roll out http://trac.webkit.org/changeset/110340 because this feature is incomplete at all.
For example, If we change select-selectedOptions.html so that
debug((++i) + ") Select an option should update the selected options collection.");
mySelect.options[0].selected = true;
shouldBe("mySelect.selectedOptions.length", "1"); // reorder these two lines
shouldBe("mySelect.options.length", "2"); // ditto.
shouldBe("mySelect.selectedOptions[0].text", "'one'");
the test fails.
HTMLCollection invalidates the content if domTreeVersion is changed. But selected state change doesn't update domTreeVersion. The test works accidentally because shouldBe() updates domTreeVersion.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list