W3C home > Mailing lists > Public > public-css-testsuite@w3.org > June 2008

Re: Header-body-footer control

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 24 Jun 2008 12:52:50 -0700
Message-ID: <48615092.3010608@inkedblade.net>
To: Robin Pelgrim <robinpelgrim@zonnet.nl>
CC: public-css-testsuite@w3.org

Robin Pelgrim wrote:
> One of the most frustrating thing for me is (in strict mode) to create a 
> 'header-body-footer' control, with stretching body. Well it should be 
> easy, but in fact, by the css 2.1 content-box model, it is just 
> imposible to create such a control when using borders and/or margins, 
> padding (and without using javascript).
> Luckily the border-box model is back in css 3 and so I think its good to 
> have a testcase for this contol (keeping in mind that all newest 
> versions of the browsers are supporting css box-sizing).
>  
> So I think the following or similar test should be added (since IE7 (and 
> IE8)) do render it the wrong way...
>  
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
> <html style="width:100%;height:100%;padding:0px;margin:0px;">
> <body style="width:100%;height:100%;padding:0px;margin:0px;">
> <table cellspacing="0px" cellpadding="0px" style="width:100%;height:100%;">
>     <tr> ...
>     <tr style="height:100%;background-color:blue;"> ...

Hi Robin,

We can't actually add such a test yet because the behavior there
isn't defined in the specs. CSS2.1 actually forbids the behavior
you describe... so we may need to re-examine that in the working
group. I'll forward your message to www-style for discussion.

~fantasai
Received on Tuesday, 24 June 2008 19:53:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:51:56 GMT