[Webkit-unassigned] [Bug 50380] Implement "required" attribute for select tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 6 17:40:18 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50380





--- Comment #21 from Kent Tamura <tkent at chromium.org>  2010-12-06 17:40:18 PST ---
(In reply to comment #20)
> (In reply to comment #17)
> I'm adding test cases for calling sites of setNeedsValidityCheck(). But I found that no existing tests for HTMLSelectElement::listBoxSelectItem() and updateListBoxSelection(). (No existing tests have passed these functions.)
> 
> Do you have any ideas to test them?
> 
> For updateListBoxSelection(), I found it is called in "autoscroll" by mouse-dragging from WebCore/renderer/RenderListBox.cpp. But I'm not sure how to cause it explicitly (by a kind of events?).

I'm not sure how updateListBoxSelection() is called.  Anyway, if you can make it be called by mouse operations, DumpRenderTree can simulate it by window.eventSender.
If it's very hard to write a test for updateListBoxSelection(), you may skip to make it.

> For listBoxSelectItem, I could not find when it is called...

http://trac.webkit.org/changeset/56180
It seems that it's not called yet.  We can ignore it.

-- 
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