W3C home > Mailing lists > Public > public-css-testsuite@w3.org > January 2011

Re: text-decoration-087

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 26 Jan 2011 13:25:47 -0800
Message-ID: <8594d431c635c98c963ee2e64ac07cb1.squirrel@cp3.shieldhost.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "Geoffrey Sneddon" <gsneddon@opera.com>, "Public CSS test suite mailing list" <public-css-testsuite@w3.org>

Le Mer 26 janvier 2011 12:51, L. David Baron a écrit :
> We were just discussing this test:
> http://test.csswg.org/suites/css2.1/20110111/html4/text-decoration-087.htm
>
> The test is currently incorrect; the:
>   test
>   test
>   test
> inline-block should not be underlined.

"images and inline blocks must not be underlined."
http://www.w3.org/TR/CSS21/text.html#lining-striking-props

but

"The baseline of an 'inline-block' is the baseline of its last line box
in the normal flow"
http://www.w3.org/TR/CSS21/visudet.html#leading
so the 3rd "test" word in that inline-block must look as if it is
underlined

>
> However, once the test assertion is fixed,

The test should use distinguishible words apart from each other and then
the expected results should be much easier to describe.

Example given:

Current code
------------

  <div>
   <span> Test </span>
   <span class="inline-block"> test test test </span>
   <span> test </span>

   <span class="up"> test test </span>
   <span> test. </span>
  </div>


Proposed replacement
--------------------

<p> There should only be one solid orange line under the words "This
test has passed.". The quadruple uppercased letter words must not be
underlined.</p>

  <div>
   <span> This </span>
   <span class="inline-block"> WWWW XXXX test </span>
   <span> has </span>

   <span class="up"> YYYY ZZZZ </span>
   <span> passed. </span>
  </div>


> we may not have two
> passes,

Chrome 8.0.552.237 and Konqueror 4.5.5 currently pass
http://test.csswg.org/suites/css2.1/20110111/html4/text-decoration-087.htm
Does that count as 2 passes? They are different rendering engines.

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

CSS 2.1 test suite (RC5; January 11th 2011):
http://test.csswg.org/suites/css2.1/20110111/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Wednesday, 26 January 2011 21:26:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 26 January 2011 21:26:33 GMT