Images in feed on ebay.com jiggle when one is hovered
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Mar 2016 01:53:58 +0000 (01:53 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Mar 2016 01:53:58 +0000 (01:53 +0000)
commit9d9b128d7fe983381cb51ee34246c4a975dd5d07
tree53cc4cbdebe09882f71dd32a730a53fe1f1ccbfa
parent6cd7528512f6e63cbda476b1d15886779ac26e7d
Images in feed on ebay.com jiggle when one is hovered
https://bugs.webkit.org/show_bug.cgi?id=155608
<rdar://problem/25160681>

The content offset in compositing layer = subpixel gap between the graphics layer and the layer bounds + layer bounds top left.

Reviewed by Simon Fraser.

Source/WebCore:

Test: compositing/hidpi-viewport-clipping-on-composited-content.html

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGeometry):
(WebCore::RenderLayerBacking::contentOffsetInCompostingLayer):
* rendering/RenderLayerBacking.h:

LayoutTests:

* compositing/hidpi-viewport-clipping-on-composited-content-expected.html: Added.
* compositing/hidpi-viewport-clipping-on-composited-content.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/compositing/hidpi-viewport-clipping-on-composited-content-expected.html [new file with mode: 0644]
LayoutTests/compositing/hidpi-viewport-clipping-on-composited-content.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerBacking.cpp
Source/WebCore/rendering/RenderLayerBacking.h