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

Re: Proposal: will-animate property

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 3 Dec 2013 10:08:27 +1300
Message-ID: <CAOp6jLaBCq3txA=oP15W6F_yP7bxC6Q7kKkvx=gY=iW5MbXG_A@mail.gmail.com>
To: Benoit Girard <bgirard@mozilla.com>
Cc: Dirk Schulze <dschulze@adobe.com>, "L. David Baron" <dbaron@dbaron.org>, Ali Juma <ajuma@chromium.org>, Matt Woodrow <matt@mozilla.com>, Cameron McCormack <cmccormack@mozilla.com>, www-style <www-style@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>
On Tue, Dec 3, 2013 at 9:50 AM, Benoit Girard <bgirard@mozilla.com> wrote:

> On Mon, Dec 2, 2013 at 3:33 PM, Robert O'Callahan <robert@ocallahan.org>wrote:
>
>> I think we'll be telling authors to [...] ensure those elements are not
>> much bigger than the viewport*.*
>>
>
> I don't think we should be telling authors to worry about size. Isn't this
> something the UA can just trivially calculate and decide what is
> appropriate of the device? What's big for one device may tiny for another.
> Then there's content scale to take into account. The UA has the best
> understanding of the resources and limitations of the current device. Also
> this might cause some authors to calculate the clientWidth/clientHeight
> when setting will-animate on an element that they don't know the size for
> which will cause a sync reflow for something we could easily decide when
> checking the will-animate property.
>

Yes, I think you're right.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w
Received on Monday, 2 December 2013 21:08:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:17 UTC