W3C home > Mailing lists > Public > www-style@w3.org > November 2001

Default value?

From: Tapio Markula <tapio1@gamma.nic.fi>
Date: Tue, 20 Nov 2001 04:59:28 -0500 (EST)
Message-Id: <3.0.5.32.20011120120302.007aea10@gamma.nic.fi>
To: bbos@w3.org, peter@linss.com, www-style@w3.org, sean@mysterylights.com, "Haavard K. Moen" <hkmoen@opera.com>, attinasi@netscape.com
Hi

Because the default value of the calculation formula of the widht is
'box-sizing:content-box', how CSS3 working browsers shoulb behave in
situations.
where is used width-attribute without the 'box-sizing' attribute?



<table width="100"  border=10">

Should browsers interpret the width-attribute as if there would be
style="box-sizing:content-box" (<table width="100"
style="box-sizing:content-box" border=10">)?

MS IE 5.0 for Mac behaves with certain DTD as if the width should be ALWAYS
calculated according to the calculation formula of CSS2. In my mind this is
incorrect, if only the width-attribute is used.

See: http://www.nic.fi/~tapio1/Tests/Tablewidth0.html etc., where I test
how browsers support HTML 4.01 (0a-0d) and CSS2 (1-4).

BUT concerning browsers this matter is more problematic. 
1) Should according to CSS3 working browser AUTOMATIC interpret both all
width-attributes and width-properties according to 'box-sizing:content-box'?
2) Should they handle the width-attribute ALWAYS according to HTML 4.01, if
the width-property and/or 'box-sizing:content-box' has not defined?

<table width="100" border=10"> accoding to CSS3? = <table
style="box-sizing:content-box; width:100px" border=10">

How according to CSS3 working browsers should interpret
http://www.nic.fi/~tapio1/Tests/Tablewidth0.html
http://www.nic.fi/~tapio1/Tests/Tablewidth0b.html
http://www.nic.fi/~tapio1/Tests/Tablewidth0c.html
http://www.nic.fi/~tapio1/Tests/Tablewidth0d.html


---------------------------------------------------------
Tapio Markula, tapio.markula@nic.fi, tapio1@nic.fi
http://www.nic.fi/~tapio1/index.html (Finnish)
http://www.nic.fi/~tapio1/index_e.html (English)
---------------------------------------------------------
I like
 __
____ Cascading 
______ Style
______   Sheets

http://www.nic.fi/~tapio1/Opetus/FAQ.php3 
http://www.nic.fi/~tapio1/Teaching/FAQ.php3
---------------------------------------------------------
I have made something also with XML and XSL:

http://www.nic.fi/~tapio1/Opetus/XSL-new.php3 (XML)
http://www.nic.fi/~tapio1/Teahing/XSL-new.php3 (XML)
---------------------------------------------------------
Received on Wednesday, 21 November 2001 05:48:32 GMT

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