Re: Cross Referencing Between Elements

12.06.2014, 20:24, "Boris Zbarsky" <bzbarsky@MIT.EDU>:
>> šššššš#aside {margin-top: computed("#h1", height); }
>
> Probably not what you want, since I bet the computed 'height' value of
> #h1 is "auto".

I meant effective pixel value of course -- similar to `getComputedStyle(elem, null).getPropertyValue('height')` in JS (this JS expression returns a pixel value like `38px` in all current browsers).

Exact CSS function name does not matter much here and could be whatever the spec editor consider appropriate.

Received on Thursday, 12 June 2014 17:00:29 UTC