[Webkit-unassigned] [Bug 88654] SVG filter's SourceGraphic is clipped to the screen size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 5 01:41:21 PDT 2012


Czene Tamas <tczene at inf.u-szeged.hu> changed:

           What    |Removed                     |Added
 Attachment #150890|                            |review?, commit-queue?
               Flag|                            |

--- Comment #13 from Czene Tamas <tczene at inf.u-szeged.hu>  2012-07-05 01:41:21 PST ---
Created an attachment (id=150890)
 --> (https://bugs.webkit.org/attachment.cgi?id=150890&action=review)
proposed patch

If SourceGraphic gets the image by the information of paintInfo and the image is larger than the screen itself, then sourceGraphic gets the size of the original image but only the pixels that are visible are painted to sourceGraphic. So filters are applied on the size of the original image but the only valid information of that is the clipped image (that has the size of the screen). Therefore if the image is larger than the screen and we scroll to another part of the image we don't see it because it doesn't get into the sourceGraphic.
But if we set 
rect = IntRect(IntPoint(), sourceGraphic->logicalSize());
then sourceGraphic will get the whole image.

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