Changeset 31859 in webkit
- Timestamp:
- Apr 13, 2008 11:53:48 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r31836 r31859 1 2008-04-14 Rob Buis <buis@kde.org> 2 3 Reviewed by Eric. 4 5 Testcase for: 6 http://bugs.webkit.org/show_bug.cgi?id=18230 7 tspan in link not working 8 9 * platform/mac/svg/custom/text-linking-expected.txt: Added. 10 * svg/custom/text-linking.svg: Added. 11 1 12 2008-04-11 Dan Bernstein <mitz@apple.com> 2 13 -
trunk/WebCore/ChangeLog
r31858 r31859 1 2008-04-14 Rob Buis <buis@kde.org> 2 3 Reviewed by Eric. 4 5 http://bugs.webkit.org/show_bug.cgi?id=18230 6 tspan in link not working 7 8 Implement SVG Errata: "The 'a' element may contain any 9 element that its parent may contain, except itself." 10 11 * svg/SVGAElement.cpp: 12 (WebCore::SVGAElement::childShouldCreateRenderer): 13 1 14 2008-04-13 David Hyatt <hyatt@apple.com> 2 15 -
trunk/WebCore/svg/SVGAElement.cpp
r31817 r31859 202 202 bool SVGAElement::childShouldCreateRenderer(Node* child) const 203 203 { 204 if (static_cast<SVGElement*>(parent())->isTextContent()) 205 return child->isTextNode(); 204 // http://www.w3.org/2003/01/REC-SVG11-20030114-errata#linking-text-environment 205 // The 'a' element may contain any element that its parent may contain, except itself. 206 if (child->hasTagName(SVGNames::aTag)) 207 return false; 208 if (parent() && parent()->isSVGElement()) 209 return static_cast<SVGElement*>(parent())->childShouldCreateRenderer(child); 206 210 207 211 return SVGElement::childShouldCreateRenderer(child);
Note: See TracChangeset
for help on using the changeset viewer.