Open
Bug 979236
Opened 10 years ago
Updated 1 year ago
Right-to-Left scroll button does not work
Categories
(Core :: Layout, defect, P4)
Tracking
()
NEW
People
(Reporter: irena.kull, Unassigned)
References
Details
(Keywords: rtl, testcase, Whiteboard: [bugday-20140310])
Attachments
(1 file, 1 obsolete file)
1.03 KB,
text/html
|
Details |
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.
![]() |
||
Comment 1•10 years ago
|
||
Attachment #8385263 -
Attachment is obsolete: true
![]() |
||
Comment 2•10 years ago
|
||
firefox-27.0.en-US.linux64 2013-12-01-03-02-03-mozilla-central-firefox-28.0a1.en-US.linux-x86_64 2014-03-10-03-02-01-mozilla-central-firefox-30.0a1.ru.linux-x86_64 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]
Reporter | ||
Comment 3•10 years ago
|
||
No, it should move till the end like in Chrome
![]() |
||
Comment 4•10 years ago
|
||
Chromium indeed scrolls to the end immediately. https://developer.mozilla.org/en-US/docs/Web/API/Element.scrollLeft 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
![]() |
||
Comment 5•10 years ago
|
||
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: http://lists.w3.org/Archives/Public/www-style/2013Jun/0041.html We should probably just change our behaviour to match the spec.
Flags: needinfo?(roc)
Updated•10 years ago
|
Updated•1 year ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•