[css-writing-modes-3] text-underline-position-left-002 and text-underline-position-right-002 tests

Kazuaki Takemura,


1-
http://test.csswg.org/source/css-writing-modes-3/text-underline-position-left-002.xht

a)
If you want this test to be included in the CSS Writing-Modes test 
suite, you need to insert this line

<link rel="help" 
href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" 
title="7.5 Line-Relative Mappings" />

in your test.

b)
Vendor-prefixes ("-ms-", "-moz-", "-o-", "-webkit") should be removed 
from tests that are submitted for inclusion in all test suites.
And '-ms-text-underline-position: below' is proprietary and definitely 
not acceptable.

c)
I am not sure you need 3 elements, 3 rules and some 15 declarations 
(with abs. pos. and Ahem font) to achieve the goal of your test. I am 
inclined to believe that your test could be designed to be more compact, 
using less code but I have not examine carefully your test. You could 
test the position of the underline line with "ZZZ" or "TTT" glyphs. I 
would consider using:

div
   {
     color: blue;
     text-decoration: underline;
     text-orientation: sideways-left;
     text-underline-position: left;
     writing-mode: vertical-rl;
   }

span
   {
     color: orange;
   }

<div><span>TTTTTT</span></div>

<p>Test passes if there is a vertical blue line on the lefthand side of 
the "T" glyphs.</p>

The sideways-left declaration would make the test difficult to pass (a 
better challenge, an honest challenge) in browsers since line-under for 
sideways-left text is normally on the right and not on the left.

2-
http://test.csswg.org/source/css-writing-modes-3/text-underline-position-right-002.xht

Same comments as above and mirrored values for c) and possibly "LLL" 
instead of "TTT".

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, 12 May 2015 05:00:53 UTC