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

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 UTC