Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/LayoutTests/svg/animations/script-tests/svgenum-animation-3.js

Issue 1870983002: Only hit-test SVG <text> foreground (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test fixup Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/hittest/text-small-font-size.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 description("Test SVGLengthAdjustType enumeration animations"); 1 description("Test SVGLengthAdjustType enumeration animations");
2 createSVGTestCase(); 2 createSVGTestCase();
3 3
4 // Initiate the test by clicking at (1, 50) - the 'S'.
5 window.clickX = 1;
6
4 // Setup test document 7 // Setup test document
5 var text = createSVGElement("text"); 8 var text = createSVGElement("text");
6 text.setAttribute("id", "text"); 9 text.setAttribute("id", "text");
7 text.setAttribute("y", "50"); 10 text.setAttribute("y", "50");
8 text.setAttribute("textLength", "200"); 11 text.setAttribute("textLength", "200");
9 text.textContent = "Stretched text"; 12 text.textContent = "Stretched text";
10 text.setAttribute("onclick", "executeTest()"); 13 text.setAttribute("onclick", "executeTest()");
11 rootSVGElement.appendChild(text); 14 rootSVGElement.appendChild(text);
12 15
13 var animate = createSVGElement("animate"); 16 var animate = createSVGElement("animate");
(...skipping 24 matching lines...) Expand all
38 ["animation", 1.999, sample1], 41 ["animation", 1.999, sample1],
39 ["animation", 2.001, sample2], 42 ["animation", 2.001, sample2],
40 ["animation", 3.999, sample2], 43 ["animation", 3.999, sample2],
41 ["animation", 4.001, sample2] 44 ["animation", 4.001, sample2]
42 ]; 45 ];
43 46
44 runAnimationTest(expectedValues); 47 runAnimationTest(expectedValues);
45 } 48 }
46 49
47 var successfullyParsed = true; 50 var successfullyParsed = true;
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/hittest/text-small-font-size.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698