[webkit-dev] Client Hints

Yoav Weiss yoav at yoav.ws
Wed May 6 04:49:52 PDT 2015


On Wed, May 6, 2015 at 8:41 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:

> 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.
>
>
Good idea. I'll file a spec issue.

Can I take the feedback here as a green light to implement (assuming that
the header name concerns will be addressed)? Are there other blocking
issues? Any other feedback?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20150506/3f14d565/attachment.html>


More information about the webkit-dev mailing list