Changeset 90003 in webkit
- Timestamp:
- Jun 29, 2011 2:32:21 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r89993 r90003 1 2011-06-29 Ryan Sleevi <rsleevi@chromium.org> 2 3 Reviewed by Dirk Schulze. 4 5 SVGRadialGradientElement::selfHasRelativeLengths() doesn't consider if cx() is relative 6 https://bugs.webkit.org/show_bug.cgi?id=61600 7 8 Correct the logic for checking for relative lengths in a SVGRadialGradientElement to consider cx() in addition to cy() 9 10 No new tests, as there is no way to currently test this. With the bug present, a side-effect is causing the 11 expected/correct image to be rendered. This is because the cached SVG resource is getting invalided through a 12 different path, forcing a repaint. The repaint takes into consideration the proper dimensions, hiding the bug. 13 14 * svg/SVGRadialGradientElement.cpp: 15 (WebCore::SVGRadialGradientElement::selfHasRelativeLengths): 16 1 17 2011-06-28 Dirk Schulze <krit@webkit.org> 2 18 -
trunk/Source/WebCore/svg/SVGRadialGradientElement.cpp
r89550 r90003 306 306 bool SVGRadialGradientElement::selfHasRelativeLengths() const 307 307 { 308 return c y().isRelative()308 return cx().isRelative() 309 309 || cy().isRelative() 310 310 || r().isRelative()
Note: See TracChangeset
for help on using the changeset viewer.