[css-writing-modes-3] 5 new text-orientation tests with 'sideways-lr' and 'sideways-rl'

Le 2015-12-05 22:36, Gérard Talbot a écrit :
> Le 2015-12-05 03:33, 塩澤 元 a écrit :
> 
> 
>>> Then create 4 tests using <div>月火水Abc<br />def木金土</div>: 1 writing 
>>> mode
>>> test with 'writing-mode: sideways-rl' with 'text-orientation: 
>>> upright' and
>>> 3 tests with 'writing-mode: sideways-lr' with 'text-orientation: [ 
>>> mixed |
>>> upright | sideways ]' where those 4 tests check, make sure that
>>> 'text-orientation' declarations have no effect in those 4 
>>> 'sideways-*'
>>> tests. Those 4 tests should probably go in section 5.1. Orienting 
>>> Text: the
>>> 'text-orientation' property.

[snipped]


> This is what I had in mind:
> 
> sideways-lr
> - - - - - -
> 
> http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/text-orientation-mixed-slr-015.xht
> 
> http://www.gtalbot.org//BrowserBugsSection/CSS3WritingModes/text-orientation-upright-slr-017.xht
> 
> http://www.gtalbot.org//BrowserBugsSection/CSS3WritingModes/text-orientation-sideways-slr-019.xht
> 
> Reference file [1]:
> http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/text-orientation-mixed-slr-015-ref.xht
> 
> 
> sideways-rl
> - - - - - -
> 
> http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/text-orientation-mixed-srl-016.xht
> 
> http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/text-orientation-upright-srl-018.xht
> 
> Reference file [1]:
> http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/text-orientation-mixed-srl-016-ref.xht
> 
> [1]: I believe these tests should probably be manual tests, so the
> reference file is not trustworthy for pixel-per-pixel matching
> reference.

text-orientation-mixed-srl-016.xht and 
text-orientation-upright-srl-018.xht can be reftested since
a block with

     {
       writing-mode: sideways-rl;
       text-orientation: mixed;
     }

or with

     {
       writing-mode: sideways-rl;
       text-orientation: upright;
     }

has to be rendered exactly as

     {
       text-orientation: sideways;
       writing-mode: vertical-rl;
     }

So those 5 tests have been submitted:

http://hg.csswg.org/test/rev/0d70f433cd3c

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

Received on Wednesday, 16 December 2015 11:22:16 UTC