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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 12 21:55:30 PST 2012


Hironori Bono <hbono at chromium.org> changed:

           What    |Removed                     |Added
 Attachment #121427|0                           |1
        is obsolete|                            |
 Attachment #121427|review?                     |
               Flag|                            |
 Attachment #122368|                            |review?
               Flag|                            |

--- Comment #42 from Hironori Bono <hbono at chromium.org>  2012-01-12 21:55:29 PST ---
Created an attachment (id=122368)
 --> (https://bugs.webkit.org/attachment.cgi?id=122368&action=review)
Patch v9 (renamed function names)

Greetings Niwa-san,

Many thanks for your comments.
I have renamed the functions added by this change. Also, I have disabled moving scrollbars when -webkit-writing-mode is vertical-lr or vertical rl. (I notice we also need to change Y positions to support them.) Should this change support them as well, or should I use another change to support them?
By the way, this change ALWAYS moves horizontal scrollbars of RTL elements on Chromium. That is, this change needs rebaselines for some layout tests that use RTL elements: "fast/block/float/026.html", "fast/block/float/028.html", "fast/events/offsetX-offsetY.html". (Unfortunately, the first two tests are pixel ones and I cannot get rebaselined results for all platforms.)


Hironori Bono

(In reply to comment #41)
> (From update of attachment 121427 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=121427&action=review
> Great! New patch looks much cleaner.
> > Source/WebCore/rendering/RenderLayer.cpp:1952
> > +LayoutUnit RenderLayer::rtlAwareVerticalScrollbarX(int minX, int maxX) const
> We normally use the word "start" to mean left for LTR and right for RTL so how about verticalScrollbarStart?
> > Source/WebCore/rendering/RenderLayer.cpp:1962
> > +LayoutUnit RenderLayer::rtlAwareHorizontalScrollbarX(int minX) const
> horizontalScrollbarStart?

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