- From: Bang Seongbeom <bangseongbeom@hotmail.com>
- Date: Sat, 6 Jun 2015 18:04:25 +0900
- To: Lea Verou <lea@verou.me>
- CC: "Tab Atkins Jr." <jackalmage@gmail.com>, "Marat Tanalin | tanalin.com" <mtanalin@yandex.ru>, Boris Zbarsky <bzbarsky@mit.edu>, www-style list <www-style@w3.org>
2015-06-05 Lea Verou:
>> On May 13, 2015, at 09:37, BangSeongbeom <bangseongbeom@hotmail.com> wrote:
>>
>> 'var()' function is limited for custom property only.
>> Custom properties and normal properties should be treated equally.
>> Like this:
>> ..foo {
>> --wall: 100px;
>> padding-bottom: 50px;
>> }
>> ..foo .bar {
>> margin-top: var(--wall);
>> padding-top: var(padding-bottom);
>> }
>
> This would not work, even if var() *could* refer to any property, since padding-bottom is not inherited. It would become the padding-bottom of .bar, which would be the initial value.
>
> ~Lea
>
>
Sorry. I wrote duplicated three mails. I thought my former two mails are
deleted when I wasn't subscribing.
https://lists.w3.org/Archives/Public/www-style/2015May/0246.html is my
last mail.
Received on Saturday, 6 June 2015 09:08:47 UTC