W3C home > Mailing lists > Public > public-css-testsuite@w3.org > March 2013

Re: [css3-writing-modes] Requests for reviewing writing-modes inilne-level alignment tests.

From: Shiozawa, Hajime <hajime.shiozawa@gmail.com>
Date: Mon, 4 Mar 2013 22:41:10 +0900
Message-ID: <CAHSwuKO0cHUoOrW81Lv54LNYYEPzQr3SQD8J=wjKZ2cLcHWi0Q@mail.gmail.com>
To: "Gérard Talbot" <css21testsuite@gtalbot.org>
Cc: Public CSS test suite mailing list <public-css-testsuite@w3.org>
Gérard,

I applied your comments to my tests and resubmitted it.

[changes]
  1. replaced 'padding-{left|right|top|bottom}: 1.5em;' with
'padding-{left|right|top|bottom}: 1.0em;' and replaced the word
'yellow rectangle' with 'yellow square'.
  2. removed 'padding: 0.2em;'.
  3. replaced 'black block' with 'black strip'.
  4. changed class name 'top' to 'right-side-of-central-baseline'.
  5. removed class declare which is never used in
inline-block-alignment-006-lr.xht and
inline-block-alignment-006-rl.xht.
  7. replaced 'vertical-rl' with 'vertical-lr' at Line 48 of
text-baseline-005-sidewaysright.xht.
  8. modified assert sentence for purpose of consistency in content of the test.

I misunderstand the writing-modes specification.

In seciton 4.2^[1], there is a sentence.
"In vertical writing mode, the central baseline is used as the
dominant baseline when ‘text-orientation’ is ‘mixed’ or ‘upright’.
Otherwise the alphabetic baseline is used. "
I believed that when 'writing-mode' is vertical and when
'text-orientation' is 'mixed or 'upright', the central baseline is
used as the dominant.

However I've found following sentence in section 5.1^[2].
"use-glyph-orientation: ... These properties are deprecated and do not
apply to non-SVG elements. ... In all other contexts, and for
implementations that do not support the glyph orientation properties,
the ‘use-glyph-orientation’ behavior is the same as for ‘mixed’. "
I think that it is correct to the baseline behaviour
'use-glyph-orientation'  is the same as 'mixed' or 'upright'.
So I removed a case of 'use-glyph-orientaiton' from alphabetical
baseline tests and added it to central baseline tests.

[1]: dev.w3.org/csswg/css3-writing-modes/#text-baselines
[2]: http://dev.w3.org/csswg/css3-writing-modes/#use-glyph-orientation


Regards,
Hajime.

-- 
# 塩澤 元 (Shiozawa, Hajime)
# mail: hajime.shiozawa@gmail.com
Received on Monday, 4 March 2013 13:41:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 4 March 2013 13:41:43 GMT