[webkit-reviews] review requested: [Bug 32641] The selected property of <option> elements is not always up to date : [Attachment 45852] Calls recalcListItems() when the "</select>" is parsed to match Firefox behavior
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 4 18:09:03 PST 2010
James Robinson <jamesr at chromium.org> has asked for review:
Bug 32641: The selected property of <option> elements is not always up to date
https://bugs.webkit.org/show_bug.cgi?id=32641
Attachment 45852: Calls recalcListItems() when the "</select>" is parsed to
match Firefox behavior
https://bugs.webkit.org/attachment.cgi?id=45852&action=review
------- Additional Comments from James Robinson <jamesr at chromium.org>
This patch causes the list items and selected states to be updated when the
"</select>" is parsed, which matches Firefox's behavior. To verify this run
the test case in Firefox and move the <script> block to be immediately before
the </select>.
Doing this in the finishedParsingChildren() call is a bit weird, but I think
the current behavior is even weirder and clearly wrong in some cases.
More information about the webkit-reviews
mailing list