[Webkit-unassigned] [Bug 21205] Make SVGPattern platform independent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 19 04:16:36 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21205
vbs85 at gmx.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24489|0 |1
is obsolete| |
------- Comment #7 from vbs85 at gmx.de 2008-10-19 04:16 PDT -------
Created an attachment (id=24506)
--> (https://bugs.webkit.org/attachment.cgi?id=24506&action=view)
SVGPattern
The problem of the wrong width of a pattern cell is caused by
enclosingIntRect().
enclosingIntRect transforms a FloatRect to a IntRect.
But it uses
int r = static_cast<int>(ceilf(rect.right()));
int b = static_cast<int>(ceilf(rect.bottom()));
for the transformation of witdth/height from float to int.
That means 15.0 -> 16 and 30.0 -> 31
I cast the width and height my self for the moment.
This solves the the wrong rendering on this LayoutTest.
Last problems: is style->opacity() still needed? Wrong transformations on Qt.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list