WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
199451
scrollLeft can become positive in vertical-rl writing-mode when -webkit-scrollbar is used
https://bugs.webkit.org/show_bug.cgi?id=199451
Summary
scrollLeft can become positive in vertical-rl writing-mode when -webkit-scrol...
Frédéric Wang (:fredw)
Reported
2019-07-03 09:59:02 PDT
Created
attachment 373393
[details]
testcase See the attached testcase. The elements have writing-mode vertical-rl and so scrollLeft goes from 0 (right) to left -200 (left). However, when using -webkit-scrollbar, it is possible to make scrollLeft take a positive value. Note that this issue does not seem to happen with other writing-mode / direction values or when -webkit-scrollbar is not set:
https://people.igalia.com/fwang/scrollLeft-scrollTop.html
For now Cathie added a workround to
https://w3c-test.org/css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html
to make the test pass in WebKit (it seems -webkit-scrollbar is used when using WebKit's layout test runner)
Attachments
testcase
(1.89 KB, text/html)
2019-07-03 09:59 PDT
,
Frédéric Wang (:fredw)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2024-09-08 11:35:50 PDT
Firefox Nightly 132 and Safari Technology Preview 202 match in scrollbar placement while Chrome Canary 130 differ.
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