[webkit-dev] Content-DPR header

Sam Weinig weinig at apple.com
Fri May 29 11:34:16 PDT 2015


Hi Yoav,

Can you give a concrete example of when this will be used?  I’m having trouble understanding when an author will want to change an images intrinsic size but not have control of the markup.

> On May 29, 2015, at 11:23 AM, Yoav Weiss <yoav at yoav.ws> wrote:
> 
> As a first step towards the Client-Hints implementation, I submitted a patch <https://bugs.webkit.org/show_bug.cgi?id=145380> for Content-DPR support <http://igrigorik.github.io/http-client-hints/#confirming-selected-dpr>.
> A discussion followed on the thread, so I'd like to move it to the list, in order for it to get higher exposure.
> 
> Content-DPR is an HTTP response header that enables style-agnostic image resizing,

What exactly does "style-agnostic image resizing” mean? I am not familiar with that term 

> by enabling the server to adapt the image's intrinsic size so that layout will not break, even if the image's dimensions are not defined in style.
> 
> Opinions welcome! :)
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20150529/2f7e1672/attachment.html>


More information about the webkit-dev mailing list