Changeset 32528 in webkit
- Timestamp:
- Apr 24, 2008 5:58:11 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r32526 r32528 1 2008-04-24 Cameron McCormack <cam@mcc.id.au> 2 3 Reviewed by Maciej Stachowiak. 4 5 Test for: 6 http://bugs.webkit.org/show_bug.cgi?id=18328 7 Modifying rx="" or ry="" on a <rect> doesn't relayout 8 9 * svg/dom/SVGRectElement: Added. 10 * svg/dom/SVGRectElement/rect-modify-rx-expected.txt: Added. 11 * svg/dom/SVGRectElement/rect-modify-rx.svg: Added. 12 1 13 2008-04-24 Adam Barth <hk9565@gmail.com> 2 14 -
trunk/WebCore/ChangeLog
r32526 r32528 1 2008-04-24 Cameron McCormack <cam@mcc.id.au> 2 3 Reviewed by Maciej Stachowiak. 4 5 Ensure that changes to rx="" and ry="" attributes on an SVG <rect> 6 element cause a relayout. 7 8 Test: svg/dom/SVGRectElement/rect-modify-rx.svg 9 10 * svg/SVGRectElement.cpp: 11 (WebCore::SVGRectElement::svgAttributeChanged): Call needsLayout() 12 when the attribute is rx or ry. 13 (WebCore::SVGRectElement::hasRelativeValues): Return true when the 14 attribute is rx or ry, since they also can have relative values. 15 1 16 2008-04-24 Adam Barth <hk9565@gmail.com> 2 17 -
trunk/WebCore/svg/SVGRectElement.cpp
r31600 r32528 99 99 if (attrName == SVGNames::xAttr || attrName == SVGNames::yAttr || 100 100 attrName == SVGNames::widthAttr || attrName == SVGNames::heightAttr || 101 attrName == SVGNames::rxAttr || attrName == SVGNames::ryAttr || 101 102 SVGTests::isKnownAttribute(attrName) || 102 103 SVGLangSpace::isKnownAttribute(attrName) || … … 124 125 { 125 126 return (x().isRelative() || width().isRelative() || 126 y().isRelative() || height().isRelative()); 127 y().isRelative() || height().isRelative() || 128 rx().isRelative() || ry().isRelative()); 127 129 } 128 130
Note: See TracChangeset
for help on using the changeset viewer.