- From: Lea Verou <leaverou@gmail.com>
- Date: Wed, 01 Sep 2010 21:39:39 +0300
- To: www-style@w3.org
- CC: Boris Zbarsky <bzbarsky@MIT.EDU>
Received on Wednesday, 1 September 2010 18:40:38 UTC
> I must be missing something here. Say I have this rule:
>
> * { width: calc(attr(border) * 10px); }
>
> and this HTML document:
>
> <table border=1"></table>
> <div border="1"></div>
>
> What are the computed widths of the div and table, and why?
>
> -Boris
Same as:
* { width: calc(1 * 10px); }
Which if my understanding is correct ends up being equivalent to:
* { width: 10px; }
Am I missing something?
--
Lea Verou
Blog: leaverou.me <http://leaverou.me>
Twitter: http://twitter.com/LeaVerou
LinkedIn: http://gr.linkedin.com/in/leaverou
Received on Wednesday, 1 September 2010 18:40:38 UTC