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

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