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

Hi Alan,

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

Thanks,
Saloni

-------------------------------------
Saloni Mira Rai
IE Developer Experience PM
425-421-8505
http://blogs.msdn.com/saloni


-----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,

<ul>
<li>Item</li>
</ul>

<ul>
<li>Item</li>
</ul>


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


Alan

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