REGRESSION (179771): zooming on facebook images covers image
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Jun 2015 01:29:38 +0000 (01:29 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 2 Jun 2015 01:29:38 +0000 (01:29 +0000)
commit82e9b961652ced867662fa87ae1e0b21b4dc080a
tree05585607a81c523e36817b5cf35e3f0ffea9159d
parent91e5e18fd30d6215526620a3860731bc1f11fed1
REGRESSION (179771): zooming on facebook images covers image
https://bugs.webkit.org/show_bug.cgi?id=145485

Reviewed by Simon Fraser.

Scaling an infinite rect should always produce an infinite rect.
(Based on Simon Fraser's patch)

Source/WebCore:

Test: compositing/layer-creation/zoomed-clip-intersection.html

* platform/graphics/LayoutRect.cpp:
(WebCore::LayoutRect::scale):

LayoutTests:

* compositing/layer-creation/zoomed-clip-intersection-expected.txt: Added.
* compositing/layer-creation/zoomed-clip-intersection.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/compositing/layer-creation/zoomed-clip-intersection-expected.txt [new file with mode: 0644]
LayoutTests/compositing/layer-creation/zoomed-clip-intersection.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/LayoutRect.cpp
Source/WebCore/platform/graphics/LayoutRect.h