HTMLImageElement: Zoom should not affect 'width' and 'height'
- Don't apply PixelSnappedWidth() and PixelSnappedHeight() as the sources - Adjust LayoutUnit with zoom level, then round it. - Apply testharness.js to images/zoomed-img-size.html This CL doesn't fix cases of 1% and 2%. It's expected. Bug: 1113987 Change-Id: Ib9cbd7c6beea2b5e7219eb87cfd32d6cc120595c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2465350 Auto-Submit: Kent Tamura <tkent@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Reviewed-by:Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/master@{#816225}
Showing
Please register or sign in to comment