W3C home > Mailing lists > Public > public-css-testsuite@w3.org > November 2012

Re: [RC6] text-align-white-space-*: text assert inaccurate

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Tue, 13 Nov 2012 11:11:58 -0500
Message-ID: <eb84194c5b0eebef3db761b727b40928.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>
Cc: "Arron Eicholz" <arron.eicholz@microsoft.com>, "W3C CSS Test Suite" <public-css-testsuite@w3.org>

Le Mar 13 novembre 2012 4:48, Kang-Hao (Kenny) Lu a écrit :
> Arron,
>
> [RC6]
> http://test.csswg.org/suites/css2.1/20110323/html4/text-align-white-space-001.htm
> http://test.csswg.org/suites/css2.1/20110323/html4/text-align-white-space-003.htm
> http://test.csswg.org/suites/css2.1/20110323/html4/text-align-white-space-004.htm
> http://test.csswg.org/suites/css2.1/20110323/html4/text-align-white-space-005.htm
> http://test.csswg.org/suites/css2.1/20110323/html4/text-align-white-space-007.htm
> http://test.csswg.org/suites/css2.1/20110323/html4/text-align-white-space-008.htm
>
> [nightly-unstable]
> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/text-align-white-space-001.htm
> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/text-align-white-space-003.htm
> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/text-align-white-space-004.htm
> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/text-align-white-space-005.htm
> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/text-align-white-space-007.htm
> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/text-align-white-space-008.htm
>
> use an assert line like
>
>   <meta name="assert" content="Setting 'text-align' to 'justify' and
> 'white-space' to 'pre', text-align is computed to its initial value.">
>
> , which no longer reflects the current prose after resolution on Issue
> 53[1]. In particular, the phrase "is computed to" bugs me.
>
>
> [1] http://wiki.csswg.org/spec/css2.1#issue-53


Kenny,

What would be an adequate replacement of the text assert in such case?

Which of the following would be okay with you:

a)
"
When computed value of 'white-space' is 'pre', then 'text-align', if set
to 'justify', must be treated as the initial value.
"

b)
"
When computed value of 'white-space' is 'pre', then the white space of
an element's text can not be altered by specifying 'text-align:
justify'.
"

c)
"
When computed value of 'white-space' is 'pre', then the used value of
'text-align', if set to 'justify', is set to its initial value.
"

We may have to add a test to verify that this (computed value is still
intact in such situation) actually happens too.

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 Tuesday, 13 November 2012 16:13:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 13 November 2012 16:13:24 GMT