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: <>
To: bbos@w3.org, peter@linss.com, www-style@w3.org, sean@mysterylights.com, "Haavard K. Moen" <hkmoen@opera.com>, attinasi@netscape.com

Because the default value of the calculation formula of the widht is
'box-sizing:content-box', how CSS3 working browsers shoulb behave in
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

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

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 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:59 UTC