Changeset 124209 in webkit
- Timestamp:
- Jul 31, 2012, 8:55:48 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r124206 r124209 1 2012-07-31 Mike Reed <reed@google.com> 2 3 skia: switch to conical gradient to match css/svg spec for two-point gradients 4 https://bugs.webkit.org/show_bug.cgi?id=92754 5 6 Reviewed by Stephen White. 7 8 Update expectations to rebaseline 9 images after this change lands 9 10 * platform/chromium/TestExpectations: 11 1 12 2012-07-31 Alexander Pavlov <apavlov@chromium.org> 2 13 -
trunk/LayoutTests/platform/chromium/TestExpectations
r124206 r124209 1256 1256 BUGWK83303 LINUX : svg/transforms/text-with-mask-with-svg-transform.svg = PASS IMAGE 1257 1257 BUGWK83303 WIN : svg/as-background-image/svg-as-background-1.html = PASS IMAGE 1258 BUGWK83303 WIN : svg/as-background-image/svg-as-background-3.html = PASS IMAGE1258 //BUGWK83303 WIN : svg/as-background-image/svg-as-background-3.html = PASS IMAGE 1259 1259 BUGWK83303 WIN : svg/as-background-image/svg-as-background-6.html = PASS IMAGE 1260 1260 BUGWK83303 WIN : svg/custom/mouse-move-on-svg-container-standalone.svg = IMAGE PASS … … 1867 1867 BUGWK45991 LINUX DEBUG : canvas/philip/tests/2d.gradient.radial.cone.top.html = TIMEOUT TEXT 1868 1868 BUGWK45991 LINUX DEBUG : platform/chromium/virtual/gpu/canvas/philip/tests/2d.gradient.radial.cone.top.html = TIMEOUT TEXT 1869 1870 // Rebaseline these now that we're using Skia's twopointconical gradient, which 1871 // correctly matches the spec. 1872 BUGCR139796 : fast/gradients/crash-on-zero-radius.html = IMAGE 1873 BUGCR139796 : fast/gradients/generated-gradients.html = IMAGE 1874 BUGCR139796 : fast/gradients/list-item-gradient.html = IMAGE 1875 BUGCR139796 : fast/gradients/simple-gradients.html = IMAGE 1876 BUGCR139796 : svg/W3C-SVG-1.1/pservers-grad-13-b.svg = IMAGE 1877 BUGCR139796 : svg/as-background-image/svg-as-background-3.html = IMAGE 1878 BUGCR139796 : svg/as-background-image/svg-as-background-with-relative-size.html = IMAGE 1879 BUGCR139796 : svg/custom/radial-gradient-with-outstanding-focalPoint.svg = IMAGE 1880 BUGCR139796 : svg/zoom/page/zoom-svg-as-background-with-relative-size.html = IMAGE 1881 1869 1882 1870 1883 BUGWK39212 : canvas/philip/tests/2d.imageData.create1.type.html = TEXT -
trunk/Source/WebCore/ChangeLog
r124208 r124209 1 2012-07-31 Mike Reed <reed@google.com> 2 3 skia: switch to conical gradient to match css/svg spec for two-point gradients 4 https://bugs.webkit.org/show_bug.cgi?id=92754 5 6 Reviewed by Stephen White. 7 8 Switching to skia's TwoPointConical gradient, which has been written explicitly to match the css/svg spec. 9 Leaving the existing TwoPointRadial gradient in skia, for other callers that may want the old behavior. 10 11 No new tests. existing layouttests exercise this change (9 pending rebaselines associated with this CL). 12 13 * platform/graphics/skia/GradientSkia.cpp: 14 (WebCore::Gradient::platformGradient): 15 1 16 2012-04-06 Ilya Tikhonovsky <loislo@chromium.org> 2 17 -
trunk/Source/WebCore/platform/graphics/skia/GradientSkia.cpp
r95901 r124209 153 153 SkScalar radius0 = m_r0 >= 0.0f ? WebCoreFloatToSkScalar(m_r0) : 0; 154 154 SkScalar radius1 = m_r1 >= 0.0f ? WebCoreFloatToSkScalar(m_r1) : 0; 155 m_gradient = SkGradientShader::CreateTwoPoint Radial(m_p0, radius0, m_p1, radius1, colors, pos, static_cast<int>(countUsed), tile);155 m_gradient = SkGradientShader::CreateTwoPointConical(m_p0, radius0, m_p1, radius1, colors, pos, static_cast<int>(countUsed), tile); 156 156 } 157 157
Note:
See TracChangeset
for help on using the changeset viewer.