summaryrefslogtreecommitdiff
path: root/ManualTests/svg-tooltip.svg
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-08-24 08:29:43 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-08-24 08:29:43 +0200
commit2e2ba8ff45915f40ed3e014101269c175f2a89a0 (patch)
tree3b94a9a9fa83efa384b8dac611cf8c6495532a62 /ManualTests/svg-tooltip.svg
parentf53e6f8e798362ed712d4a51633b0d0b03dbc213 (diff)
downloadqtwebkit-2e2ba8ff45915f40ed3e014101269c175f2a89a0.tar.gz
Imported WebKit commit bf0b0213bbf3886c96610020602012ca7d11b084 (http://svn.webkit.org/repository/webkit/trunk@126545)
New snapshot with clang and python build fixes
Diffstat (limited to 'ManualTests/svg-tooltip.svg')
-rw-r--r--ManualTests/svg-tooltip.svg62
1 files changed, 62 insertions, 0 deletions
diff --git a/ManualTests/svg-tooltip.svg b/ManualTests/svg-tooltip.svg
new file mode 100644
index 000000000..84fe1d73d
--- /dev/null
+++ b/ManualTests/svg-tooltip.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>This string should not show up as a tooltip</title>
+ <desc>
+ This test verifies that tooltips are properly rendered for SVG content in a variety of
+ scenarios. Hovering over every shape should result in a tooltip of "PASS".
+ </desc>
+ <defs>
+ <ellipse id="e1" cx="100" cy="200" rx="50" ry="30" fill="blue">
+ <title>PASS</title>
+ </ellipse>
+ <ellipse id="e2" cx="250" cy="200" rx="50" ry="30" fill="blue">
+ <title>FAIL</title>
+ </ellipse>
+ <symbol id="e3">
+ <ellipse cx="100" cy="300" rx="50" ry="30" fill="blue">
+ <title>PASS</title>
+ </ellipse>
+ </symbol>
+ <symbol id="e4">
+ <title>FAIL</title>
+ <ellipse cx="250" cy="300" rx="50" ry="30" fill="blue">
+ </ellipse>
+ </symbol>
+ </defs>
+
+ <text y="15" x="0">When hovered, all shapes should show a "PASS" tooltip. Anything else is a failure.</text>
+
+ <ellipse cx="100" cy="100" rx="50" ry="30" fill="blue">
+ <title>PASS</title>
+ </ellipse>
+
+ <g>
+ <title>PASS</title>
+ <ellipse cx="250" cy="100" rx="50" ry="30" fill="blue"/>
+ </g>
+
+ <a xlink:title="PASS" xlink:href="#">
+ <title>FAIL</title>
+ <ellipse id="e4" cx="400" cy="100" rx="50" ry="30" fill="blue"/>
+ </a>
+
+ <use xlink:href="#e1"/>
+
+ <use xlink:href="#e2">
+ <title>PASS</title>
+ </use>
+
+ <g>
+ <title>FAIL</title>
+ <ellipse id="e8" cx="400" cy="200" rx="50" ry="30" fill="blue">
+ <title>PASS</title>
+ </ellipse>
+ </g>
+
+ <use xlink:href="#e3"/>
+ <use xlink:href="#e4">
+ <title>PASS</title>
+ </use>
+
+
+</svg>