W3C home > Mailing lists > Public > www-style@w3.org > June 2014

Re: Cross Referencing Between Elements

From: Marat Tanalin <mtanalin@yandex.ru>
Date: Thu, 12 Jun 2014 20:59:53 +0400
To: Boris Zbarsky <bzbarsky@mit.edu>, Brian Blakely <anewpage.media@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <2180271402592393@web26h.yandex.ru>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:22 UTC