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:31:05 -0800
Message-ID: <CAAWBYDAzzwJV14j93FFdnSTPGmXDwk_aGFKjWnGpSK+AQVETzw@mail.gmail.com>
To: Alexey Solovey <acterhd@gmail.com>
Cc: www-style list <www-style@w3.org>
On Wed, Dec 16, 2015 at 10:26 AM, Alexey Solovey <acterhd@gmail.com> wrote:
> I have problems with chromium development now. I don't know how Debug
> Chromium.
> I made emulator of CSS canvas.
> https://github.com/acterhd/bmpgen
> As base, I picked up WebKit "-webkit-canvas()", that not standartized by
> W3C. I don't made support of element(), because will very hard through
> canvas. I planned made emulator of "source()", but I thinked that will
> better direct access to canvas.

Adding a new function would only help if we were having grammar issues
with element(), but we aren't - the implementation issues are deeper
than that.

And it looks like Houdini is taking over that use-case with Custom
Paint, which is basically an upgraded form of -webkit-canvas().  It
actually lets you respond to the size that CSS wants the picture to
be, rather than requiring you to guess at the size and then get ugly
scaling if you guessed wrong.

Received on Wednesday, 16 December 2015 18:31:52 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:55 UTC