Re: [css-writing-modes-3] vertical-align: 0% in vertical-alignment-011-sidewaysright and vertical-alignment-012-rl

Le 2015-02-17 09:17, 塩澤 元 a écrit :
> Gérard,
> 
> 2015-02-17 13:52 GMT+09:00 Gérard Talbot <css21testsuite@gtalbot.org>:
> 
>> Hajime,
>> 
>> I examined
>> 
>> http://test.csswg.org/suites/css-writing-modes-3_dev/
>> nightly-unstable/html/vertical-alignment-011-sidewaysright.htm
>> 
>> and
>> 
>> http://test.csswg.org/suites/css-writing-modes-3_dev/
>> nightly-unstable/html/vertical-alignment-012-rl.htm
>> 
>> "
>> <percentage>
>>     Raise (positive value) or lower (negative value) the box by this
>> distance (a percentage of the 'line-height' value). The value '0%' 
>> means
>> the same as 'baseline'.
>> <length>
>>     Raise (positive value) or lower (negative value) the box by this
>> distance. The value '0cm' means the same as 'baseline'.
>> "
>> 
>> So, 'vertical-align: 0em' or 'vertical-align: 0%' should do nothing 
>> more
>> (and nothing less) than 'vertical-align: baseline' regardless of the
>> dominant baseline-alignment but it does not in Firefox 38 (I have not
>> checked other browsers right now). So, this must be a bug. We need to
>> develop a specific test testing just 'vertical-align: 0' versus
>> 'vertical-align: baseline' in central baseline-alignment context (say,
>> 'text-orientation: mixed').
>> 
>> Like:
>> 
>> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/
>> vertical-align-baseline-001.htm
>> 
>> and
>> 
>> 
>> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/vertical-align-baseline-002.htm
>> 
> 
> OK, I understand. I think you are right.

New test filenames
------------------

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s43-vertical-align-0-001.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s43-vertical-align-0-002.xht

IE11 passes both tests.

Bug report:
https://bugzilla.mozilla.org/show_bug.cgi?id=1133945



> 
> 
> I also think your vertical-alignment-011-sidewaysright and
>> vertical-alignment-012-rl tests are too long and testing 3 specific 
>> issues.
>> I would split those in 6 smaller tests.
>> 
> 
> I agree with you. I think that it is better to split into smaller test
> because vertical-alignment-*.xht are too long.

I think you should do this to other text-orientation tests, especially 
tests that test 'text-orienation: sideways' and 'text-orientation: 
sideways-left' . This way, the browsers that will support and implement 
'text-orienation: sideways-right', 'text-orienation: upright' and 
'text-orienation: mixed' values will eventually be able to claim they 
pass level 3.

All the tests with the tiny 1px blue line and the yellow square image 
should probably be redone. Originally I thought this was a good idea... 
but now, I can see it makes those tests not so easy to figure out and to 
review. Testing text-orientation with baseline alignment should be 
doable ... but it's a bit more complex than usual...

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 Tuesday, 17 February 2015 21:13:19 UTC