[Webkit-unassigned] [Bug 110304] Add setting to add viewport tag to image documents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 19 22:21:27 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=110304





--- Comment #4 from Alexandre Elias <aelias at chromium.org>  2013-02-19 22:23:49 PST ---
(From update of attachment 189242)
View in context: https://bugs.webkit.org/attachment.cgi?id=189242&action=review

What happens when the image is very large?  I expect it will look cut off.  It would be better to have an exact fit in that case, especially given that deviceScaleFactor means we can usually have a pageScaleFactor of 0.5 to get the true resolution of the image.

> Source/WebCore/html/ImageDocument.cpp:210
> +        metaElement->setAttribute(contentAttr, "width=device-width, height=device-height");

Please remove "height=device-height", that is not normally present in viewport tags.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list