- From: Tapio Markula <tapio1@gamma.nic.fi>
- Date: Tue, 20 Nov 2001 04:59:28 -0500 (EST)
- 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 UTC