Summary: | Click on a label element won't select input[type=date] | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kent Tamura <tkent> | ||||||||||
Component: | Forms | Assignee: | Kent Tamura <tkent> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | haraken, mifenton, morrita, ojan.autocc, webkit.review.bot | ||||||||||
Priority: | P2 | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Kent Tamura
2013-01-30 22:27:59 PST
Created attachment 185680 [details]
Patch
Created attachment 185700 [details]
Patch 2
Comment on attachment 185700 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=185700&action=review > LayoutTests/fast/forms/date/date-click-on-label.html:2 > +<body id=body> Nit: id=body is not necessary. > LayoutTests/fast/forms/date/date-click-on-label.html:7 > +document.body.offsetLeft; Nit: What is it for? > LayoutTests/fast/forms/date/date-click-on-label.html:11 > +shouldBeEqualToString('document.activeElement.id', 'date1'); Shall we also check the value of document.activeElement.id before dispatching the click event? Created attachment 185711 [details]
Patch 3
Follow review comments
Created attachment 185712 [details]
Patch 4
remove unrelated change
Comment on attachment 185712 [details]
Patch 4
Looks better.
Comment on attachment 185712 [details] Patch 4 Clearing flags on attachment: 185712 Committed r141395: <http://trac.webkit.org/changeset/141395> All reviewed patches have been landed. Closing bug. |