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

Issue 2224883002: Fix RTL rendering of SELECT on macOS and input[type=color] on all platforms. (Closed)

Created:
4 years, 4 months ago by tkent
Modified:
4 years, 4 months ago
Reviewers:
keishi
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dglazkov+blink, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rwlbuis, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix RTL rendering of SELECT on macOS and input[type=color] on all platforms. We had two issues. * 'menulist' and 'menulist-button' appearances were not RTL-aware on macOS They are used for <select> and <input type=color list>. They were always rendered in LTR. * Paddings of <input type=color list> were not RTL-aware on all platforms. This CL fixes them. BUG=232333 Committed: https://crrev.com/c371a8f73eba6d83bea5889cf4ae0679b689703d Cr-Commit-Position: refs/heads/master@{#410534}

Patch Set 1 : Fix RTL rendering of SELECT on macOS and input[type=color] on all platforms. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -74 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/color/input-appearance-color.html View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/forms/color/input-appearance-color-expected.png View Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/forms/color/input-appearance-color-expected.txt View 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/menulist-appearance-basic-expected.png View Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/menulist-appearance-basic-expected.txt View 1 chunk +8 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/select-writing-direction-natural-expected.png View Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/forms/select/select-writing-direction-natural-expected.txt View 1 chunk +26 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/text/international/bidi-menulist-expected.png View Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/text/international/bidi-menulist-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/text/international/menulist-width-rtl-expected.png View Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/text/international/menulist-width-rtl-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/text/international/pop-up-button-text-alignment-and-direction-expected.png View Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/fast/text/international/pop-up-button-text-alignment-and-direction-expected.txt View 3 chunks +16 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/css/html.css View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutThemeMac.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutThemeMac.mm View 4 chunks +26 lines, -11 lines 2 comments Download
M third_party/WebKit/Source/core/paint/ThemePainterMac.mm View 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
tkent
keishi@, would you review this please? https://codereview.chromium.org/2224883002/diff/20001/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm File third_party/WebKit/Source/core/layout/LayoutThemeMac.mm (right): https://codereview.chromium.org/2224883002/diff/20001/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm#newcode479 third_party/WebKit/Source/core/layout/LayoutThemeMac.mm:479: // NSPopUpButtonCell on ...
4 years, 4 months ago (2016-08-09 01:04:31 UTC) #13
keishi
LGTM
4 years, 4 months ago (2016-08-09 01:28:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2224883002/20001
4 years, 4 months ago (2016-08-09 01:39:46 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 4 months ago (2016-08-09 02:26:29 UTC) #17
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c371a8f73eba6d83bea5889cf4ae0679b689703d Cr-Commit-Position: refs/heads/master@{#410534}
4 years, 4 months ago (2016-08-09 02:28:15 UTC) #19
tkent
4 years, 4 months ago (2016-08-09 03:59:18 UTC) #20
Message was sent while issue was closed.
https://codereview.chromium.org/2224883002/diff/20001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/layout/LayoutThemeMac.mm (right):

https://codereview.chromium.org/2224883002/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/layout/LayoutThemeMac.mm:479: //
NSPopUpButtonCell on macOS 10.9 doesn't support
On 2016/08/09 at 01:04:31, tkent wrote:
> Actually, I don't know the status of macOS 10.10.  I'll watch rebaseline bot
result carefully, and update the code if necessary.

https://codereview.chromium.org/2223373002/ showed NSPopUpButtonCell on macOS
10.10 supported RTL rendering. We don't need to update the code.

Powered by Google App Engine
This is Rietveld 408576698