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

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

From: Saloni Mira Rai <salonir@microsoft.com>
Date: Tue, 6 May 2008 12:19:58 -0700
To: Alan Gresley <alan@css-class.com>
CC: Arron Eicholz <Arron.Eicholz@microsoft.com>, "Ph. Wittenbergh" <jk7r-obt@asahi-net.or.jp>, CSS <www-style@w3.org>, Alex Mogilevsky <alexmog@exchange.microsoft.com>
Message-ID: <E8245DDD23CF8443A20CDFABD553C2FD2B0D54491C@NA-EXMSG-C112.redmond.corp.microsoft.com>

Hi Alan,

The data I have sent out actually does not contain the information for nested lists.


Saloni Mira Rai
IE Developer Experience PM

-----Original Message-----
From: Alan Gresley [mailto:alan@css-class.com]
Sent: Tuesday, May 06, 2008 6:04 AM
To: Saloni Mira Rai
Cc: Arron Eicholz; Ph. Wittenbergh; CSS; Alex Mogilevsky
Subject: Re: [CSS21] Why are browser default style values different from Appendix D

Saloni Mira Rai wrote:
> Hello,
> The bug you are talking about is not relevant here because the default margins being set are auto (resolved to 0) whether the container hasLayout=true or false. (Arron is the creator of these tests and can explain further if needed.)
> Also, IE7 data does not really impact the discussion here. Majority of existing implementations are doing something different (from IE7 and the spec) in this case.
> Thanks,
> Saloni

Hello Saloni

I guess what you are referring to is this part of appendix D.

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

As an author I would prefer my list to show what all implementations are
showing. For this markup,



I would like to see a gap between each unordered list. Now to say that
IE7 shows no vertical margins is not correct [1]. This would indicate
that all implementations (including IE5, IE6, IE7 and IE8) are doing
something different to appendix D.

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 }

[1] http://css-class.com/test/css/defaults/unordered-list.htm

Received on Tuesday, 6 May 2008 19:20:41 UTC

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