NEW 191857
[iOS] Scrollbar size in iOS platforms
https://bugs.webkit.org/show_bug.cgi?id=191857
Summary [iOS] Scrollbar size in iOS platforms
Manuel Rego Casasnovas
Reported 2018-11-20 03:14:03 PST
As discussed in bug #191656 it might be needed that scrollbarLogicalWidth() and scrollbarLogicalHeight() returns zero on iOS. Some weird issues on iOS caused that the patch for #191656 got rollout, to make it pass all tests in iOS and iOS Simulator. To fix it temporary we added a "#if !PLATFORM(IOS_FAMILY)" there.
Attachments
Patch for checking iOS EWS (2.26 KB, patch)
2018-11-20 23:45 PST, Manuel Rego Casasnovas
no flags
Trying horizontalScrollbarIntrusion() as suggested by fwang (2.29 KB, patch)
2018-11-21 01:10 PST, Manuel Rego Casasnovas
ews-watchlist: commit-queue-
Archive of layout-test-results from ews124 for ios-simulator-wk2 (2.63 MB, application/zip)
2018-11-21 06:43 PST, EWS Watchlist
no flags
Simon Fraser (smfr)
Comment 1 2018-11-20 17:13:10 PST
Does scrollbarIntrusion() do what you want?
Manuel Rego Casasnovas
Comment 2 2018-11-20 23:45:06 PST
Created attachment 355390 [details] Patch for checking iOS EWS
Frédéric Wang (:fredw)
Comment 3 2018-11-20 23:58:51 PST
Comment on attachment 355390 [details] Patch for checking iOS EWS View in context: https://bugs.webkit.org/attachment.cgi?id=355390&action=review > Source/WebCore/rendering/RenderGrid.cpp:1011 > + borderAndPadding += layer()->scrollbarIntrusion().width(); I guess you can just use layer()->horizontalScrollbarIntrusion()?
Manuel Rego Casasnovas
Comment 4 2018-11-21 01:10:04 PST
Created attachment 355394 [details] Trying horizontalScrollbarIntrusion() as suggested by fwang
Frédéric Wang (:fredw)
Comment 5 2018-11-21 05:52:30 PST
The tests seems to render fine for me when running directly in the Safari simulator, so I wonder whether it's something specific to the test runner.
EWS Watchlist
Comment 6 2018-11-21 06:43:55 PST
Comment on attachment 355394 [details] Trying horizontalScrollbarIntrusion() as suggested by fwang Attachment 355394 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/10098603 New failing tests: imported/w3c/web-platform-tests/css/css-grid/grid-model/grid-container-scrollbar-001.html
EWS Watchlist
Comment 7 2018-11-21 06:43:57 PST
Created attachment 355409 [details] Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Note You need to log in before you can comment on or make changes to this bug.