[Webkit-unassigned] [Bug 54623] RTL web content should have left-hand scrollbar.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 16 04:19:51 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=54623


Aharon (Vladimir) Lanin <aharon at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #67 from Aharon (Vladimir) Lanin <aharon at google.com>  2012-04-16 04:19:49 PST ---
I am reopening because iframes are not being handled properly. Their scrollbar is currently always on the right, even if both the <iframe> and the document inside it have direction:rtl. For an <iframe>, the scrollbar should be on the start side of the document inside it (even though when displayed in a separate tab, not an <iframe>, the document's direction should not determine the scrollbar side). If the thing inside the <iframe> does not have a direction, e.g. it is an image, it should be on the start side of the <iframe>'s direction.

Attaching a test case.

Please note that this is the same requirement I originally stated in comment 16 (quoted below), although perhaps not clearly enough.

(In reply to comment #16)
> In frames and iframes hosting HTML documents, the dir attribute (and CSS direction) of the frame/iframe element has no visible effect, since it is completely overridden by the direction of the HTML document in the frame. Thus, the vertical scrollbar position should be determined by the frame's HTML document too. Thus, the exception for frames and iframes makes sense.
> 
> The rule is simple: for RTL content, the vertical scrollbar should be on the left side. The direction of the content in a frame is given by the document, not the frame element.
> 
> As for top-level documents, this is indeed an exception to the rule. The reason for the exception is that it is even more important to have the *window*'s vertical scrollbar in a fixed position as one surfs from one page to another of the opposite direction, since it saves the user having to check the direction of the page or visually find the scrollbar before starting to move the mouse to it.
> 
> Please note that this rationale does not apply to internal elements, since their scrollbar is in an arbitrary position in the window anyway.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list