WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
104993
Hours field of date/time input UI should respect step attribute
https://bugs.webkit.org/show_bug.cgi?id=104993
Summary
Hours field of date/time input UI should respect step attribute
Kunihiko Sakamoto
Reported
2012-12-13 23:09:46 PST
Continued from
https://bugs.webkit.org/show_bug.cgi?id=104628
and
https://bugs.webkit.org/show_bug.cgi?id=104985
. Make hours fields of multiple-fields UI respect step attribute.
Attachments
Patch
(16.61 KB, patch)
2012-12-13 23:29 PST
,
Kunihiko Sakamoto
no flags
Details
Formatted Diff
Diff
Patch 2
(17.82 KB, patch)
2012-12-14 01:00 PST
,
Kunihiko Sakamoto
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Kunihiko Sakamoto
Comment 1
2012-12-13 23:29:24 PST
Created
attachment 179427
[details]
Patch
Kent Tamura
Comment 2
2012-12-14 00:02:06 PST
Comment on
attachment 179427
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=179427&action=review
> LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-stepup-stepdown-from-renderer.html:160 > +shouldBeEqualToString('test("06:00", 7200, null, null, ["delete", "downArrow"])', '00:00');
In this case, do we have appearance "12:00 am" correctly instead of "00:00 am"? We can test it by getUserAgentShadowTextContent() defined in fast/forms/resources/common.js.
Kent Tamura
Comment 3
2012-12-14 00:05:44 PST
Comment on
attachment 179427
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=179427&action=review
> LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-stepup-stepdown-from-renderer-expected.txt:111 > +The tests in this block fail on platforms without the lang-attribute-aware-form-control-UI feature.
We know this block will fail on Windows XP. So, please add the following line to LayoutTests/platform/chromium/TestExpectations
webkit.org/b/104993
[ XP ] fast/forms/time-multiple-fields/time-multiple-fields-stepup-stepdown-from-renderer.html [ Failure ]
Kunihiko Sakamoto
Comment 4
2012-12-14 01:00:11 PST
Created
attachment 179443
[details]
Patch 2
Kunihiko Sakamoto
Comment 5
2012-12-14 01:01:50 PST
Comment on
attachment 179427
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=179427&action=review
>> LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-stepup-stepdown-from-renderer-expected.txt:111 >> +The tests in this block fail on platforms without the lang-attribute-aware-form-control-UI feature. > > We know this block will fail on Windows XP. > So, please add the following line to LayoutTests/platform/chromium/TestExpectations > >
webkit.org/b/104993
[ XP ] fast/forms/time-multiple-fields/time-multiple-fields-stepup-stepdown-from-renderer.html [ Failure ]
Done.
>> LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-stepup-stepdown-from-renderer.html:160 >> +shouldBeEqualToString('test("06:00", 7200, null, null, ["delete", "downArrow"])', '00:00'); > > In this case, do we have appearance "12:00 am" correctly instead of "00:00 am"? > We can test it by getUserAgentShadowTextContent() defined in fast/forms/resources/common.js.
Added test of shadow text here and 0-23 case.
Kent Tamura
Comment 6
2012-12-14 01:03:33 PST
Comment on
attachment 179443
[details]
Patch 2 Looks good.
WebKit Review Bot
Comment 7
2012-12-14 01:33:31 PST
Comment on
attachment 179443
[details]
Patch 2 Clearing flags on attachment: 179443 Committed
r137733
: <
http://trac.webkit.org/changeset/137733
>
WebKit Review Bot
Comment 8
2012-12-14 01:33:34 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug