[css-writing-modes] full-width-001 full-width-002 full-width-003 tests

Koji, Elika,

[src]
http://test.csswg.org/source/css-writing-modes-3/full-width-001.html

[src]
http://test.csswg.org/source/css-writing-modes-3/full-width-002.html

[src]
http://test.csswg.org/source/css-writing-modes-3/full-width-003.html

[nightly-unstable]
http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/chapter-9.htm#s9.1.3.1

[nightly-unstable]
http://test.csswg.org/suites/css-writing-modes-3_dev/nightly-unstable/html/full-width-001.htm

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

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


I believe full-width-001 full-width-002 full-width-003 tests should be 
tweaked and tuned because I believe they are not precise and they are 
not perfectly reliable, not perfectly revealing.

For example full-width-002 test:

First, that full-width-002.htm uses a very misleading class name "tcy"

.tcy {
   text-transform: full-width;
}

Second, the "6" (6 == 6 or &x36; or U+0036: In basic latin range: 
ASCII Digits) versus "6" (6 == 6  or &xFF16; or U+FF16: 
full-width 6 : In Halfwidth and Fullwidth Forms range  
http://unicode.org/charts/PDF/UFF00.pdf) (you have to have good eyes to 
notice the difference of glyphs): one is the full-width version of the 
other!

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/full-width-characters-in-full-width-tests.html

Third, as coded, it looks like both <p> are tests, are being tested 
(because the wrapping div has the class name "test") but both <p> are 
not tests. The first (in source code order) <p> should be the test and 
is the test; the second (in source code order) <p> should be the 
reference and is the comparing reference. What you should have instead 
in that full-width-002.htm test is a structure like this:

<div>
   <p id="test"> ...</p>
   <p id="reference"> ...</p>
</div>

This structure would improve understandability of the test.

Fourth, as I suspected, the "6" should not be part of that 
full-width-002.htm test because it is not what's being tested, is not 
what is the goal, target of the test (as stated by the test's text 
assert). The "19" is the sole target of the test.

That full-width-002.htm test is not reliable precisely because some 
browsers (Chrome 49+) supports and implements 'text-combine-upright: 
all' while some others (Firefox 45+) supports and implements 
'text-transform: full-width'. By breaking, splitting the test into 2 
separate and distinct sub-tests, we would clearly and cleanly see which 
browsers support which properties.

Draft 'text-transform: full-width' test applied on a single ASCII digit:
http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/full-width-00x.xht
Firefox 45 passes that full-width-00x.xht test while Chrome 49 and 
Chrome 51.0.2687.0 fail that full-width-00x.xht test.

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 Monday, 28 March 2016 22:14:04 UTC