Changeset 70617 in webkit
- Timestamp:
- Oct 26, 2010 11:38:35 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r70615 r70617 1 2010-10-26 Rob Buis <rwlbuis@gmail.com> 2 3 Reviewed by Nikolas Zimmermann. 4 5 Title-Element has no popup on <svg>-Elements, but on <g> 6 https://bugs.webkit.org/show_bug.cgi?id=47669 7 8 Allow tooltips on non-root svg elements. 9 10 No new tests. 11 12 * svg/SVGStyledElement.cpp: 13 1 14 2010-10-26 Dai Mikurube <dmikurube@google.com> 2 15 -
trunk/WebCore/svg/SVGStyledElement.cpp
r69437 r70617 67 67 String SVGStyledElement::title() const 68 68 { 69 // According to spec, we should not return titles when hovering over <svg> elements (those69 // According to spec, we should not return titles when hovering over root <svg> elements (those 70 70 // <title> elements are the title of the document, not a tooltip) so we instantly return. 71 if (hasTagName(SVGNames::svgTag)) 72 return String(); 71 if (hasTagName(SVGNames::svgTag)) { 72 const SVGSVGElement* svg = static_cast<const SVGSVGElement*>(this); 73 if (svg->isOutermostSVG()) 74 return String(); 75 } 73 76 74 77 // Walk up the tree, to find out whether we're inside a <use> shadow tree, to find the right title.
Note: See TracChangeset
for help on using the changeset viewer.