Re: CSS3-text: line-break - strict

Le Ven 15 février 2013 11:54, taka a écrit :
> Hi Gerard
> I've replaced @font-face from "IPAMincho/IPAGothic" to
> "mplus-1p-regular"according to your suggestion.

Using mplus-1p-regular download is better but it still rather big
(1.3MB) and, as explained by John Daggett [1], it can create problems
(loading of reftest and automated checking). So, you should expect me
(or someone else) to eventually propose a WOFF code replacement
proposal/suggestion ...
as soon as I know how to compile an sfnt2woff executable.

> Updated files are
> located here for your kind review.
> http://test.csswg.org/shepherd/search/testcase/spec/css3-text/author/taka/status/submitted/
>
> In addition, I've reflected your useful comments against other testcases
> (text-decoration-line-010.xht, text-combine-horizontal-010.xht) into
> this testcase as those seem to be universal.
> <meta name="assert" content="this test verifies that ..." />
> selector to use id rather than class for a single element




http://test.csswg.org/source/contributors/east-tokyo/submitted/css3-text/line-break-strict-011.xht

In that page, <span id="target"> is used and reused several times: so,
here, you have to use a class attribute. Same thing with <p id="test">
and <p id="control">.
id attribute is for identify one single document-unique element. class
attribute is for several elements and usually is for logical grouping of
elements for styling purposes.

This kind of error is being reported by W3C HTML validator

http://validator.w3.org/check?uri=http%3A%2F%2Ftest.csswg.org%2Fsource%2Fcontributors%2Feast-tokyo%2Fsubmitted%2Fcss3-text%2Fline-break-strict-011.xht&charset=%28detect+automatically%29&doctype=Inline&group=0

It can be detected offline and reported as well by Browser add-ons like

HTML VALIDATOR (based on Tidy and OpenSP) for Firefox
http://users.skynet.be/mgueury/mozilla/
This one works offline.

---------

http://test.csswg.org/source/contributors/east-tokyo/submitted/css3-text/line-break-strict-015.xht

line 12:
<meta name="assert" content="This test verifies that 'line-break:
strict' does not allow line breaking before inseparable characters." />

Suggestion:
<meta name="assert" content="This test verifies that 'line-break:
strict' does not allow line breaking before inseparable characters like
two dot leader (U+2025) and horizontal ellipsis (U+2026)." />


[1]:
http://lists.w3.org/Archives/Public/public-css-testsuite/2013Feb/0037.html

Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Friday, 15 February 2013 20:09:09 UTC