W3C home > Mailing lists > Public > www-style@w3.org > March 2002

Question on the spec re List Backgrounds

From: Nicholas Atkinson <nik@casawana.com>
Date: Sun, 31 Mar 2002 13:32:03 +0100
Message-ID: <000e01c1d8b0$4d9d6950$0300000a@natkinwkstn>
To: <www-style@w3.org>
Hi, say for example I am implementing a layout engine to render the following XHTML snippet:

<ul style="background: red;">
    <li>Unordered List Item</li>
    <li>Unordered List Item</li>
</ul>

The background of the list item text will obviously be red.  But there will be a left-hand margin and bullet generated before each list item text.  Should the background of this bullet and left-hand margin be red or the background colour of its parent block?

In IE 6 and Opera 6.01 (on Windows) the bullet and margin do not have a red background.  But in Netscape 6.1 (on Windows) the background of the bullet and margin is red.

Who is correct as per the spec?

nik atkinson
Received on Sunday, 31 March 2002 07:40:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:13 GMT