W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2014

Re: [whatwg] Object.observe()able properties on the web platform

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 29 Aug 2014 08:38:12 +1000
Message-ID: <CAAWBYDB3za2mKDAA4O07jdx7kz3_ita5ez26huhuWGtEY7VnhQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Travis Leithead <travis.leithead@microsoft.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On Fri, Aug 29, 2014 at 6:45 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 8/28/14, 4:39 PM, Travis Leithead wrote:
>> and Object.observe wouldn't help either.
> It _could_ help if you Object.observe the getComputedStyle's
> .backgroundColor.
> Actually implementing that could be pretty painful, though.  :(

I'm been visiting the Sydney office all week to discuss CSS
extensibility, we discussed this a few days ago. Listening for
property changes doesn't seem to be hard.  Doing it directly through
O.o might be, but the system already listens for computed value
changes in order to start transitions; checking for listeners and
queueing a task to call them wouldn't be expensive.

Received on Thursday, 28 August 2014 22:38:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:22 UTC