WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
74851
[SVG] Pattern placement issues
https://bugs.webkit.org/show_bug.cgi?id=74851
Summary
[SVG] Pattern placement issues
Branimir Lambov
Reported
2011-12-19 03:47:13 PST
Created
attachment 119843
[details]
Testcase This tests some pattern placement oddities caused by rounding. The chessboard fill should end AT a field boundary, no cropped parts of a square should be visible at any side of the pattern. The square boundaries should not be affected by zooming. The top square should be a one-pixel stroke with no bleed of red or green into the adjacent pixels.
Attachments
Testcase
(2.23 KB, image/svg+xml)
2011-12-19 03:47 PST
,
Branimir Lambov
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Branimir Lambov
Comment 1
2011-12-19 03:56:09 PST
Firefox 8 and Opera 11.60 both display the pattern properly. Opera does bleed green in the rendering of the top square, Firefox does not have that problem. The issue is caused by the rounding done in SVGImageBufferTools::createImageBuffer and lack of correction for the location of the buffer rectangle. The same type of problem appears in
bug 73643
, but patterns require a different treatment to avoid bleeding pixels under the pattern.
Jason Davies
Comment 2
2012-05-30 11:22:15 PDT
Confirmed in Safari 5.1.7. See also: -
https://code.google.com/p/chromium/issues/detail?id=130326
-
https://bugzilla.mozilla.org/show_bug.cgi?id=535185
Brent Fulgham
Comment 3
2022-07-15 15:02:16 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug