Bug 110830 - Add month popup for new calendar picker
Summary: Add month popup for new calendar picker
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Keishi Hattori
URL:
Keywords:
Depends on:
Blocks: 109439
  Show dependency treegraph
 
Reported: 2013-02-25 18:06 PST by Keishi Hattori
Modified: 2013-02-27 18:26 PST (History)
2 users (show)

See Also:


Attachments
Patch (24.23 KB, patch)
2013-02-25 21:21 PST, Keishi Hattori
no flags Details | Formatted Diff | Diff
Patch (24.19 KB, patch)
2013-02-27 03:42 PST, Keishi Hattori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keishi Hattori 2013-02-25 18:06:43 PST
Add month popup for new calendar picker (Bug 109439)
Comment 1 Keishi Hattori 2013-02-25 21:21:05 PST
Created attachment 190197 [details]
Patch
Comment 2 Kent Tamura 2013-02-26 04:50:53 PST
Comment on attachment 190197 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=190197&action=review

> Source/WebCore/Resources/pagepopups/calendarPicker.js:2153
> +        this.dispatchEvent("didSelectMonth", this, new Month(year, month));

"didSelectMonth" -> YearListView.EventTypeYearListViewDidSelectMonth ?

> Source/WebCore/Resources/pagepopups/calendarPicker.js:2179
> +        var row = parseInt(rowsWithIrregularHeight[i], 10);

Is this parseInt necessary?

> Source/WebCore/Resources/pagepopups/calendarPicker.js:2407
> +        eventHandled = this._moveHighlightTo(Month.createFromToday());
> +        eventHandled = true;

Setting eventHandled twice looks bad.
Comment 3 Keishi Hattori 2013-02-27 03:42:13 PST
Created attachment 190486 [details]
Patch
Comment 4 Kent Tamura 2013-02-27 06:12:59 PST
Comment on attachment 190486 [details]
Patch

looks ok
Comment 5 WebKit Review Bot 2013-02-27 18:26:11 PST
Comment on attachment 190486 [details]
Patch

Clearing flags on attachment: 190486

Committed r144254: <http://trac.webkit.org/changeset/144254>
Comment 6 WebKit Review Bot 2013-02-27 18:26:14 PST
All reviewed patches have been landed.  Closing bug.