- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Wed, 31 Oct 2007 19:36:12 -0400
- To: "Grant, Melinda" <melinda.grant@hp.com>
- CC: public-css-testsuite@w3.org
- Message-ID: <4729116C.3020605@inkedblade.net>
Grant, Melinda wrote: > Fantasai said: >> The following test is hard to interpret when the text wraps: >> >> http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1print/t0 >> 805-c5516-ibrdr-c-00-a.xht >> >> I've added line-height: 6em; to give the wide border some >> room in that case. > > That helps, but makes the description poor to incorrect. How about the > attached change, which moves the description into the p parent, and > shortens the text within the bordered span so that it should never need > to wrap? (But keeps the 6em line spacing just in case...) How's the following (attached)? >> The following tests all fail if 'border-spacing' is zero (its >> initial value): >>... >> For the top and bottom border tests, I added a rule to skip >> one of a pair of adjacent cells so that there is no chance of >> a connection. For the others I added "border-collapse: separate; >> border-spacing: 6px;" to the table. > > These look good. Ok, checked in. ~fantasai
Index: css1test5516-i.xml =================================================================== RCS file: /sources/public/CSS/CSS2.1-test-suite/raw-tests/css1tests/css1test5516-i.xml,v retrieving revision 1.2 diff -u -r1.2 css1test5516-i.xml --- css1test5516-i.xml 25 Apr 2007 16:29:01 -0000 1.2 +++ css1test5516-i.xml 31 Oct 2007 23:32:21 -0000 @@ -8,7 +8,8 @@ p { margin: 3em; } .one {border-color: green; border-style: solid;} .two {border-color: green; border-width: medium; border-style: solid;} - .three {border-color: purple green blue yellow; border-width: 2em; border-style: solid;} + .three {border-color: purple green blue yellow; border-width: 2em; border-style: solid; + line-height: 6em;} ]]></style> </head> <body> @@ -19,7 +20,9 @@ <span class="two">This box should have a green border.</span> </p> <p> - <span class="three">Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW.</span> + Clockwise from top, the borders around + <span class="three">THIS PHRASE</span> + should be: PURPLE, GREEN, BLUE, YELLOW. </p> </body> </html>
Received on Wednesday, 31 October 2007 23:36:22 UTC