Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Issue 195443002: CalendarPicker display in correct format for minimum Value (Closed)

Created:
6 years, 9 months ago by Habib Virji
Modified:
6 years, 9 months ago
Reviewers:
keishi, tkent
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

CalendarPicker display in correct format for minimum Value Offset for minimum value, 0001/01/01 returns 0, resulting in setContentOffset not setting required values. R=keishi1, tkent BUG=348461 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169312

Patch Set 1 #

Patch Set 2 : Tests for testing min date value and rendering #

Patch Set 3 : Updated test expected file #

Patch Set 4 : Added test expectations #

Total comments: 6

Patch Set 5 : CalendarPicker update scroll values in attachTo #

Total comments: 4

Patch Set 6 : Update content to issue partition change event #

Messages

Total messages: 18 (0 generated)
Habib Virji
Value 0001/01/01 which is a min value for calendarPicker returns offset 0, resulting in setContentOffset ...
6 years, 9 months ago (2014-03-11 17:20:07 UTC) #1
tkent
Please refer to files in LayoutTests/fast/forms/calendar-picker/. Making a rendering test is easy for this change. ...
6 years, 9 months ago (2014-03-11 22:49:32 UTC) #2
Habib Virji
On 2014/03/11 22:49:32, tkent wrote: > Please refer to files in LayoutTests/fast/forms/calendar-picker/. > Making a ...
6 years, 9 months ago (2014-03-12 22:08:21 UTC) #3
tkent
> Thanks. Did add test but they seem to be not matching on try bot ...
6 years, 9 months ago (2014-03-13 01:21:27 UTC) #4
Habib Virji
On 2014/03/13 01:21:27, tkent wrote: > > Thanks. Did add test but they seem to ...
6 years, 9 months ago (2014-03-13 14:26:37 UTC) #5
tkent
Keishi, would you take a look at this please?
6 years, 9 months ago (2014-03-14 07:59:57 UTC) #6
keishi
Thanks for fixing this. https://codereview.chromium.org/195443002/diff/60001/Source/web/resources/calendarPicker.js File Source/web/resources/calendarPicker.js (right): https://codereview.chromium.org/195443002/diff/60001/Source/web/resources/calendarPicker.js#newcode1524 Source/web/resources/calendarPicker.js:1524: if (this._contentOffset < 0) The ...
6 years, 9 months ago (2014-03-14 08:38:59 UTC) #7
Habib Virji
Thanks keishi for reviewing. I have updated code as per your suggestion. https://codereview.chromium.org/195443002/diff/60001/Source/web/resources/calendarPicker.js File Source/web/resources/calendarPicker.js ...
6 years, 9 months ago (2014-03-14 10:38:15 UTC) #8
keishi
https://codereview.chromium.org/195443002/diff/80001/Source/web/resources/calendarPicker.js File Source/web/resources/calendarPicker.js (right): https://codereview.chromium.org/195443002/diff/80001/Source/web/resources/calendarPicker.js#newcode1525 Source/web/resources/calendarPicker.js:1525: var partitionChanged = this._updateScrollContent(value); Set this._contentOffset before calling _updateScrollContent ...
6 years, 9 months ago (2014-03-14 10:51:06 UTC) #9
Habib Virji
Thanks updated as suggested https://codereview.chromium.org/195443002/diff/80001/Source/web/resources/calendarPicker.js File Source/web/resources/calendarPicker.js (right): https://codereview.chromium.org/195443002/diff/80001/Source/web/resources/calendarPicker.js#newcode1525 Source/web/resources/calendarPicker.js:1525: var partitionChanged = this._updateScrollContent(value); On ...
6 years, 9 months ago (2014-03-14 11:18:36 UTC) #10
keishi
Thanks. LGTM
6 years, 9 months ago (2014-03-14 14:29:08 UTC) #11
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 9 months ago (2014-03-15 16:28:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/195443002/100001
6 years, 9 months ago (2014-03-15 18:53:18 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-15 19:03:57 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on blink_presubmit
6 years, 9 months ago (2014-03-15 19:03:58 UTC) #15
tkent
lgtm
6 years, 9 months ago (2014-03-16 00:05:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/195443002/100001
6 years, 9 months ago (2014-03-16 00:05:40 UTC) #17
commit-bot: I haz the power
6 years, 9 months ago (2014-03-16 22:41:53 UTC) #18
Message was sent while issue was closed.
Change committed as 169312

Powered by Google App Engine
This is Rietveld 408576698