Bug 155385

Summary: [OS X] Scrollbars of overflow:scroll divs should appear on the left on RTL systems
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, esprehn+autocc, glenn, jonlee, kondapallykalyan, rniwa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WIP
none
WIP
none
WIP
none
WIP
none
Patch
none
Archive of layout-test-results from ews102 for mac-yosemite
none
Patch simon.fraser: review+

Description Myles C. Maxfield 2016-03-11 19:29:23 PST
[OS X] Scrollbars of overflow:scroll divs should appear on the left on RTL systems
Comment 1 Myles C. Maxfield 2016-03-11 19:30:08 PST
Created attachment 273796 [details]
WIP
Comment 2 Myles C. Maxfield 2016-03-11 19:40:14 PST
Created attachment 273798 [details]
WIP
Comment 3 Myles C. Maxfield 2016-03-11 21:55:57 PST
Created attachment 273803 [details]
WIP
Comment 4 Myles C. Maxfield 2016-03-11 22:02:13 PST
Created attachment 273804 [details]
WIP
Comment 5 Myles C. Maxfield 2016-03-11 22:13:32 PST
Created attachment 273807 [details]
Patch
Comment 6 Build Bot 2016-03-11 22:45:48 PST
Comment on attachment 273807 [details]
Patch

Attachment 273807 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/964349

New failing tests:
fast/scrolling/rtl-scrollbars-overflow-padding.html
fast/scrolling/rtl-scrollbars-overflow.html
fast/scrolling/rtl-scrollbars-overflow-simple.html
fast/scrolling/rtl-scrollbars-overflow-contents.html
fast/scrolling/rtl-scrollbars-overflow-dir-rtl.html
Comment 7 Build Bot 2016-03-11 22:45:53 PST
Created attachment 273811 [details]
Archive of layout-test-results from ews102 for mac-yosemite

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102  Port: mac-yosemite  Platform: Mac OS X 10.10.5
Comment 8 Myles C. Maxfield 2016-03-11 23:05:53 PST
Created attachment 273812 [details]
Patch
Comment 9 Simon Fraser (smfr) 2016-03-11 23:31:34 PST
Comment on attachment 273812 [details]
Patch

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

> Source/WebCore/rendering/style/RenderStyle.cpp:2045
> +bool RenderStyle::shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const

"LogicalLeft" makes my brain hurt. Isn't the logical left for RTL actually the right? For logical positions we normally use start/end, so maybe this is PhysicalLeft?
Comment 10 Myles C. Maxfield 2016-03-12 13:18:20 PST
Committed r198069: <http://trac.webkit.org/changeset/198069>
Comment 11 Radar WebKit Bug Importer 2016-03-13 20:45:56 PDT
<rdar://problem/25136942>