[webkit-dev] Client Hints

Ryosuke Niwa rniwa at webkit.org
Tue May 5 23:41:48 PDT 2015


On Tue, May 5, 2015 at 11:35 PM, Yoav Weiss <yoav at yoav.ws> wrote:

> On Wed, May 6, 2015 at 8:14 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:
>
>> I do have the same concern over terse names.  I don't see any point in
>> saving 13 bytes by abbrebiating DevicePixelRadio as DPR.
>>
>> In the case of ResourceWidth, we can't get this number until we trigger a
>> layout.  It doesn't seem desirable to slow down the page load speed by
>> eagering triggering layout before loading each image.  How do we plan to
>> work around that?
>>
>
> The resource width is planned to be based on the `sizes` attribute when
> available, and to fall back to the viewport width when it is not.
> There are no plans to delay image loading waiting for layout, nor are
> there current plans to use the layout information once we have it, as that
> would introduce undesired raciness.
>

Okay, thanks for the clarification. Perhaps the spec should explictily
state that.

- R. Niwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20150505/d913efa8/attachment.html>


More information about the webkit-dev mailing list