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

Issue 16532002: Clear button for date/time inputs should be zoomable (Closed)

Created:
7 years, 6 months ago by keishi
Modified:
7 years, 6 months ago
Reviewers:
tkent
CC:
blink-reviews, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, apavlov+blink_chromium.org, jchaffraix+rendering, darktears
Visibility:
Public.

Description

Clear button for date/time inputs should be zoomable on Mac We will stop using NSCancelButtonCell and draw it using GraphicsContext. This will also enable zooming for search field cancel buttons. The change to RenderThemeChromiumMac::controlSizeForSystemFont fixes a bug where all controls were drawn with NSRegularControlSize when zoomed. Because we fixed this we had to introduce different padding depending on the control size (searchFieldHorizontalPaddings). BUG=247572 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152845

Patch Set 1 #

Patch Set 2 : Added tint #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Total comments: 8

Patch Set 6 : #

Patch Set 7 : Removed images #

Patch Set 8 : Added test expectation entries #

Unified diffs Side-by-side diffs Delta from patch set Stats (+798 lines, -769 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 3 chunks +54 lines, -51 lines 0 comments Download
M LayoutTests/fast/css/input-search-padding-expected.txt View 2 1 chunk +10 lines, -10 lines 0 comments Download
M LayoutTests/fast/forms/search-cancel-button-style-sharing-expected.txt View 1 2 3 4 1 chunk +16 lines, -16 lines 0 comments Download
M LayoutTests/fast/forms/search-display-none-cancel-button-expected.txt View 2 1 chunk +6 lines, -6 lines 0 comments Download
M LayoutTests/fast/repaint/search-field-cancel-expected.txt View 2 1 chunk +7 lines, -7 lines 0 comments Download
M LayoutTests/platform/chromium-mac/fast/css/text-overflow-input-expected.txt View 2 6 chunks +114 lines, -114 lines 0 comments Download
M LayoutTests/platform/chromium-mac/fast/forms/control-restrict-line-height-expected.txt View 2 1 chunk +7 lines, -7 lines 0 comments Download
M LayoutTests/platform/chromium-mac/fast/forms/input-appearance-height-expected.txt View 1 2 3 4 2 chunks +7 lines, -7 lines 0 comments Download
M LayoutTests/platform/chromium-mac/fast/forms/placeholder-pseudo-style-expected.txt View 1 2 3 4 2 chunks +29 lines, -29 lines 0 comments Download
M LayoutTests/platform/chromium-mac/fast/forms/search-vertical-alignment-expected.txt View 1 2 3 4 3 chunks +15 lines, -15 lines 0 comments Download
M LayoutTests/platform/chromium-mac/fast/forms/search/search-appearance-basic-expected.txt View 1 2 3 4 5 1 chunk +94 lines, -94 lines 0 comments Download
M LayoutTests/platform/chromium-mac/fast/forms/searchfield-heights-expected.txt View 1 2 3 4 1 chunk +21 lines, -21 lines 0 comments Download
M LayoutTests/platform/chromium-mac/fast/speech/input-appearance-searchandspeech-expected.txt View 2 1 chunk +366 lines, -366 lines 0 comments Download
M Source/core/css/html.css View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/rendering/RenderThemeChromiumMac.mm View 1 2 3 4 5 6 chunks +51 lines, -24 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
keishi
7 years, 6 months ago (2013-06-11 12:40:23 UTC) #1
tkent
We should do rebaseline for crbug.com/77779 before proceeding this CL. https://codereview.chromium.org/16532002/diff/30001/Source/core/css/html.css File Source/core/css/html.css (right): https://codereview.chromium.org/16532002/diff/30001/Source/core/css/html.css#newcode450 ...
7 years, 6 months ago (2013-06-12 00:37:46 UTC) #2
keishi
https://codereview.chromium.org/16532002/diff/30001/Source/core/css/html.css File Source/core/css/html.css (right): https://codereview.chromium.org/16532002/diff/30001/Source/core/css/html.css#newcode450 Source/core/css/html.css:450: -webkit-margin-start: 2px; On 2013/06/12 00:37:47, tkent wrote: > Why ...
7 years, 6 months ago (2013-06-13 08:45:41 UTC) #3
tkent
fast/forms/search/search-appearance-basic.html requires rebaseline, doesn't it? This CL updates some test results without the clear button. ...
7 years, 6 months ago (2013-06-13 21:54:22 UTC) #4
keishi
https://codereview.chromium.org/16532002/diff/64001/Source/core/rendering/RenderThemeChromiumMac.mm File Source/core/rendering/RenderThemeChromiumMac.mm (right): https://codereview.chromium.org/16532002/diff/64001/Source/core/rendering/RenderThemeChromiumMac.mm#newcode742 Source/core/rendering/RenderThemeChromiumMac.mm:742: if (zoomLevel != 1.0) On 2013/06/13 21:54:23, tkent wrote: ...
7 years, 6 months ago (2013-06-14 05:17:01 UTC) #5
tkent
lgtm Please makes sure TestExpectation has enough entries and build bots won't be red.
7 years, 6 months ago (2013-06-14 05:22:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/16532002/120001
7 years, 6 months ago (2013-06-20 18:02:50 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=13514
7 years, 6 months ago (2013-06-20 19:00:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/16532002/133001
7 years, 6 months ago (2013-06-21 01:23:49 UTC) #9
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 02:40:11 UTC) #10
Message was sent while issue was closed.
Change committed as 152845

Powered by Google App Engine
This is Rietveld 408576698