« Return to Thread: W3C Spec Test in Opera 9.2 WebBrowser

Review Request: t1205-c565-list-pos-00-b

by fantasai :: Rate this Message:

Reply to Author | View in Thread

fantasai wrote:
>
> 돼지말린효과 wrote:
>> http://www.w3.org/Style/CSS/Test/CSS2.1/current/t1205-c565-list-pos-00-b.htm 
>>
>> I tried to test this URL in Opera 9.2 WebBrowser.
>>  
>> But I saw that the two navy boxed were different on windows xp in my
>> computer.
...
>
> That said, I don't see any statement in CSS2.1 that backs up this test, so
> it is invalid and should be removed. Thanks for bringing it up.

This test
   http://www.w3.org/Style/CSS/Test/CSS2.1/20061011/t1205-c565-list-pos-00-b.htm
was taken from the CSS1 test suite. The original test is here:
   http://www.w3.org/Style/CSS/Test/CSS1/20070302/sec565.htm
The original test is valid afaict: it is testing list-style-position. However
the CSS2.1 version is invalid and should be removed.

I've written a pair of tests to replace it, based on the original CSS1 test.
Anyone willing to review them so I can add them to the test suite?

~fantasai

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS 2.1 Test Suite: list-style-position</title>
  <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
  <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
  <meta name="assert" content="The marker box is outside the principal block box."/>
  <style type="text/css"><![CDATA[
   li {
     width: 10em;
     margin: 0.5em 5em;
     padding: 0;
     list-style-position: outside;
     background: navy;
     color: blue; }
  ]]></style>
 </head>
 <body>
  <p>There must be a navy rectangle below, preceded by a blue bullet.</p>
  <ul>
   <li> </li>
  </ul>
 </body>
</html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS 2.1 Test Suite: list-style-position</title>
  <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
  <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
  <meta name="assert" content="The marker box is outside the principal block box."/>
  <style type="text/css"><![CDATA[
   li {
     width: 10em;
     margin: 0.5em 5em;
     padding: 0;
     list-style-position: inside;
     background: navy;
     color: white; }
  ]]></style>
 </head>
 <body>
  <p>There must be a navy rectangle below, with a white bullet inside.</p>
  <ul>
   <li> </li>
  </ul>
 </body>
</html>

 « Return to Thread: W3C Spec Test in Opera 9.2 WebBrowser