[css-writing-modes-3] first-page-vrl-002 and first-page-vlr-003 tests

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[css-writing-modes-3] first-page-vrl-002 and first-page-vlr-003 tests

Gérard Talbot-3
Hello,

http://hg.csswg.org/test/rev/cae8d2b7b40a

[src]
http://test.csswg.org/source/css-writing-modes-3/first-page-vrl-002.xht

[src]
http://test.csswg.org/source/css-writing-modes-3/first-page-vlr-003.xht

[nightly-unstable]
http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/first-page-vrl-002.htm

[nightly-unstable]
http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/first-page-vlr-003.htm

These 2 tests are testing what is the first page of a document whose
root element has its 'writing-mode' set to 'vertical-rl' and set to
'vertical-lr'.

I assumed that the first page of document whose root element has
'writing-mode: vertical-rl' is the left page because

"
Whether the first page of a document is :left or :right depends on the
major writing direction of the root element. For example, the first page
of a document with a left-to-right major writing direction would be a
:right page, and the first page of a document with a right-to-left major
writing direction would be a :left page.
"
CSS2.1 section 13.2.2 Page selectors: selecting left, right, and first
pages
http://www.w3.org/TR/CSS21/page.html#page-selectors

and because

"
The principal writing mode of the document is determined by the
writing-mode and direction values specified on the root element. This
writing mode is used, for example, to determine the default page
progression direction. (See [CSS3PAGE].) Like direction, the
writing-mode value of the root element is also propagated to the initial
containing block and sets the block flow direction of the initial block
formatting context.
"
3.1 Block Flow Direction: the writing-mode property
http://www.w3.org/TR/css-writing-modes-3/#writing-mode

Right now, Firefox 43.0a1 buildID=20150815090753 and Chrome 46.0.2478.0
fail both tests.
I do not know about IE11 or Edge12.

Comments, feedback and review are welcomed.

Gérard
--
Test Format Guidelines
http://testthewebforward.org/docs/test-format-guidelines.html

Test Style Guidelines
http://testthewebforward.org/docs/test-style-guidelines.html

Test Templates
http://testthewebforward.org/docs/test-templates.html

CSS Naming Guidelines
http://testthewebforward.org/docs/css-naming.html

Test Review Checklist
http://testthewebforward.org/docs/review-checklist.html

CSS Metadata
http://testthewebforward.org/docs/css-metadata.html