Respective (left or right) position of vertical scrollbar in right-to-left direction of blocks

Hello,

Some bidi tests may not generate a vertical scrollbar when viewed in a
single tab (with viewport of 800 by 600 or higher). But, inside the test
harness, it may generate a vertical scrollbar. Now, there is no standard
[1] that I know of regarding the position of vertical scrollbar ...
although I want to believe that if body's block direction is rtl, then a
generated vertical scrollbar should be on the *right* side.

Some browsers also have settings capable of overriding. Firefox's
about:config has layout.scrollbar.side

http://kb.mozillazine.org/Layout.scrollbar.side

0
Place the scrollbar at the end (right in LTR languages, left in RTL) of
the content, based on the UI’s direction. (Default)


1
Place the scrollbar at the end (right in LTR languages, left in RTL) of
the content, based on the document/content’s direction.


2
Place the scrollbar on the right side of the content.


3
Place the scrollbar on the left side of the content.


I have and use value 1 and I think this should be the proper, correct
choice for the CSS 2.1 test suite.

I do not know if other browsers have settings of this sort.

I believe the uncommon assumptions of the test suite
http://test.csswg.org/suites/css2.1/nightly-unstable/#uncommon
should clarify this.
I may have to re-verify or tune up a bunch of reftests because of this.

-------------

E.g.

http://test.csswg.org/suites/css2.1/20110323/html4/absolute-non-replaced-width-021.htm

Firefox 11.0 will create a vertical scrollbar on the *right* side of the
page (assuming that layout.scrollbar.side is set to 1)

Opera 11.62 will create a vertical scrollbar on the *right* side of the
page

Chrome 17.0.963.83 and Konqueror 4.8.1 will create a vertical scrollbar
on the *left* side of the page

I have not checked with IE8.

-------------


[1] CSS 2.1, overflow states:

"scrollbar being placed on an edge of the element's box, it should be
inserted between the inner border edge and the outer padding edge."
http://www.w3.org/TR/CSS21/visufx.html#overflow

but it does not state or claim anything about rtl situations.

Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Wednesday, 28 March 2012 00:02:22 UTC