[Webkit-unassigned] [Bug 199451] New: scrollLeft can become positive in vertical-rl writing-mode when -webkit-scrollbar is used

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 3 09:59:02 PDT 2019


            Bug ID: 199451
           Summary: scrollLeft can become positive in vertical-rl
                    writing-mode when -webkit-scrollbar is used
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr
                CC: cathiechen at igalia.com, simon.fraser at apple.com
            Blocks: 161611

Created attachment 373393

  --> https://bugs.webkit.org/attachment.cgi?id=373393&action=review


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:

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)

Referenced Bugs:

[Bug 161611] Support ScrollIntoViewOptions for Element.scrollIntoView
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190703/7cb47aa5/attachment.html>

More information about the webkit-unassigned mailing list