W3C home > Mailing lists > Public > www-style@w3.org > December 2015

Re: Pardon about CSS4 "element()"

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 16 Dec 2015 10:20:03 -0800
Message-ID: <CAAWBYDA_z0Yg0VE0SRDa4g6uvVKBV5PAw_yvnXwCD2dHaHYoXA@mail.gmail.com>
To: Alexey Solovey <acterhd@gmail.com>
Cc: www-style list <www-style@w3.org>
On Tue, Dec 15, 2015 at 2:54 AM, Alexey Solovey <acterhd@gmail.com> wrote:
> Pardon for propose. We have difficulties with rendering `element()`. I
> speaked with Chromium devs, I understand that they can only render:
> `canvas`, `video` or `img` i.e. paint source based. I beg to divide
> `element()` to low level functions: subject (i.e. `element()` that capture
> from DOM) and `source()` (that capture from `CSS.elementSources` i.e. paint
> sources). For me really difficult understand `element()`.
>
> https://github.com/w3c/csswg-drafts/tree/master/css-images-4
> PLEASE! Merge Paint Sources spec to `source()`.
>
> For example:
>
> .something {
>   ...
>   background-image: source(canvas);
> }
>
> ...
> CSS.elementSources("canvas", canvas);

I don't understand. What problem are you having that this would help solve?

~TJ
Received on Wednesday, 16 December 2015 18:20:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:59 UTC