W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: Extending CSSOM Views matchMedium with callback

From: Kenneth Christiansen <kenneth.christiansen@openbossa.org>
Date: Mon, 10 May 2010 15:15:14 -0300
Message-ID: <AANLkTikKETEQ3hBnzRI5ezpAQVPRfyR9KmR-0-zCX60R@mail.gmail.com>
To: Joćo Eiras <joaoe@opera.com>
Cc: public-webapps@w3.org, www-style@w3.org
Though it will probably become more used due to the media features,
such as (orientation:...), (view-mode:...) etc. especially on mobile

Anyway, I agree that it is not a bottleneck for the time being.


On Mon, May 10, 2010 at 3:11 PM, Joćo Eiras <joaoe@opera.com> wrote:
> On Mon, 10 May 2010 19:53:52 +0200, Kenneth Christiansen
> <kenneth.christiansen@openbossa.org> wrote:
>> Ola Joao,
>> That would mean that the user would have to manually call all
>> matchMedium queries the user is interested in to find out which one
>> changed, without us being able to optimize this by not redoing the
>> parsing of the queries etc.
> Hardly an issue given that media change is not a bottleneck neither
> frequent, but more like a developer feature, or a UI toggle in the user
> agent (change to print preview for instance). So, I really don't see the
> point in making an optimization like this, if you can actually call it that.
> --
> Joćo Eiras
> Core Developer, Opera Software ASA, http://www.opera.com/

Kenneth Rohde Christiansen
Technical Lead / Senior Software Engineer
Qt Labs Americas, Nokia Technology Institute, INdT
Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
Received on Monday, 10 May 2010 18:15:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:07 UTC