W3C home > Mailing lists > Public > www-style@w3.org > May 2008

Re: [CSS21] Why are browser default style values different from Appendix D

From: Alan Gresley <alan@css-class.com>
Date: Wed, 07 May 2008 11:44:39 +1000
Message-ID: <48210987.9030104@css-class.com>
To: Alan Gresley <alan@css-class.com>, www-style@w3.org

L. David Baron wrote:
> On Tuesday 2008-05-06 23:04 +1000, Alan Gresley wrote:
>> I would suggest this change (or similar) to match existing behavior.
>> ol ul, ul ol,
>> ul ul, ol ol    { margin-top: 16px; margin-bottom: 16px }
> I don't see how the test page you give is related to this rule 
> in Appendix D.  The test page does not contain any nested lists.
> Gecko certainly has zero margins on nested lists; I haven't checked
> other implementations.  (Unfortunately, HTML nested list structure
> makes it hard to distinguish nested lists that are part of a single
> list structure from a separate list that happens to be inside a list
> item.)
> Also, the default margins are more likely to be '1em' than '16px'.
> -David
>> [1] http://css-class.com/test/css/defaults/unordered-list.htm

Thank you David. I was wrong. This did prompt another testcase.


This clearly shows that all implementations show.

ol ul, ul ol,
ul ul, ol ol    { margin-top: 0; margin-bottom: 0 }

This matter is closed. :-/

Received on Wednesday, 7 May 2008 01:45:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:36 UTC