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

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

From: Saloni Mira Rai <salonir@microsoft.com>
Date: Mon, 7 Jul 2008 11:02:05 -0700
To: Alan Gresley <alan@css-class.com>
CC: 'CSS' <www-style@w3.org>
Message-ID: <E8245DDD23CF8443A20CDFABD553C2FD2B18B7FA11@NA-EXMSG-C112.redmond.corp.microsoft.com>

>> You are still missing from your table the padding-start for the <ol> and <ul> elements. On my table this property is indicated by the rows with the pink background.

Actually I deliberately left these out since padding-start is not a valid CSS 2.1 property. It is not relevant to Appendix D of CSS 2.1.


>> Also you have all the default vertical margins for IE8 given as 1em but IE8 is still showing 1.2em for these.
Yes IE8 values are based on post-Beta1 build as mentioned before (http://lists.w3.org/Archives/Public/www-style/2008May/0185.html)

Thanks,
Saloni

-------------------------------------
Saloni Mira Rai
IE Developer Experience PM
425-421-8505


-----Original Message-----
From: Alan Gresley [mailto:alan@css-class.com]
Sent: Sunday, July 06, 2008 11:42 PM
To: Saloni Mira Rai
Cc: 'CSS'
Subject: Re: [CSS21] Why are browser default style values different from Appendix D

Saloni Mira Rai wrote:
> Hello,
>
> Reviving this old thread...
>
> Using Alan's template, I updated the table with em values where appropriate. The rows where there is a difference between the majority of browsers and default style are marked as red.
[...]
>
> Thanks,
> Saloni


Thank you Saloni. I wasn't wanting to spend the time to change all those
heading values from pixels to ems.

You are still missing from your table the padding-start for the <ol> and
<ul> elements. On my table this property is indicated by the rows with
the pink background.

http://css-class.com/test/css/defaults/UA-style-sheet-defaults.htm


Gecko and Safari have padding-start in there default style sheets. Opera
must have a padding-start but I can find no references to Opera's
default style sheet on the Opera site. IE8b has this padding-start which
has replaced the margin-left seen in IE7. The difference between IE7 and
  IE8 is clearly seen in this test case.

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


Also you have all the default vertical margins for IE8 given as 1em but
IE8 is still showing 1.2em for these.

http://css-class.com/test/css/defaults/default-margins.htm


Is IE8b2 (or final release) going to change these default vertical
margins to the final styles of 1em?


This really needs to be standardized since many CSS authors still use
the universal reset [1] that flatten all implementations default style
sheets, thus complicating any authors style sheet.


[1] http://meyerweb.com/eric/tools/css/reset/


Alan
Received on Monday, 7 July 2008 18:02:49 GMT

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