Open Bug 979236 Opened 10 years ago Updated 1 year ago

Right-to-Left scroll button does not work


(Core :: Layout, defect, P4)

27 Branch




(Reporter: irena.kull, Unassigned)



(Keywords: rtl, testcase, Whiteboard: [bugday-20140310])


(1 file, 1 obsolete file)

1.03 KB, text/html
Attached file (obsolete) —
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36

Steps to reproduce:

I clicked on ScrollLeft button from the attached example in FF27

Actual results:

The button itself (and the screen content) scrolled, but the scroll bar did not move.
This happens only the 1st time. If the bar is moved manually and the button is clicked the 2nd time, the screen content and the bar are moving together, but only half a way.

Expected results:

The screen content and the scroll bar should move together all the way to the left (the bar) and all the way to the right (the content) as it is done in Chrome.
Keywords: rtl
Attached file ScrollLeftRTLBug.html
Attachment #8385263 - Attachment is obsolete: true

When I click the button, the frame content and the scroll grip are moved a little (supposedly 33px) to the left.  Is that the correct behavior?
Whiteboard: [bugday-20140310]
No, it should move till the end like in Chrome
Chromium indeed scrolls to the end immediately. says: "if the element's direction is 'rtl' then scrollLeft is zero when the scrollbar is at its rightmost position (at start of the scrolled content) and then increasingly negative as you scroll towards the end of the content."
Component: Untriaged → DOM
Product: Firefox → Core
Chrome's behavior with scrolling in RTL containers is pretty broken in various ways.  There was a bunch of standards discussion on this, but I'm not sure what the outcome of that discussion was.  Robert, do you recall what was decided for scrollLeft?

I also can't reproduce the "first click doesn't move scrollbar" issue....
Flags: needinfo?(roc)
Latest spec status is here:

We should probably just change our behaviour to match the spec.
Flags: needinfo?(roc)
Component: DOM → Layout
Ever confirmed: true
Depends on: 383026
Keywords: testcase
OS: Windows 7 → All
Priority: -- → P4
Hardware: x86_64 → All
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.