W3C home > Mailing lists > Public > www-style@w3.org > May 2004

Re: CSS: %% length unit. Proposal.

From: Max Romantschuk <max@provico.fi>
Date: Mon, 10 May 2004 07:58:52 +0300
Message-ID: <409F0C0C.7080900@provico.fi>
To: www-style@w3.org

> On Sat, 8 May 2004, Andrew Fedoniouk wrote:
>>> f1{
>>>  width:calc(25%-50px);
>>> }
>>> f2{
>>>  width:calc(75%-50px);
>>> }
>>
>>What is the order of operations in such expression?

Ian Hickson wrote:
> It doesn't matter, they are not interdependant.

Exactly. Furthermore, even if one used calc to calculate boxes which 
would overlap the right thing to do is to keep the flow as it is. The 
layout will break and the author will notice and hopefully correct his 
mistake.

%% units would introduce interdependencies of elements in a way which 
would be difficult to handle. I believe calc would provide enough 
flexibility for even demanding authors.

As has been pointed out in this thread before, table layout is not tied 
to the <table> tag. Fixing things missing in IE by introducing new 
properties should not be a goal of CSS design. Experience tells me that 
Microsoft won't improve support until the competition makes them. If we 
wish to affect that we should spend out time making people switch to 
Mozilla Firefox or a comparable browser.

-- 
Max Romantschuk
http://max.nma.fi/
Received on Monday, 10 May 2004 00:59:00 GMT

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