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

Unified Diff: LayoutTests/svg/custom/gradient-stop-outside-gradient.html

Issue 1009923002: Don't allow <stop> as layout tree child of <svg> or <g> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Content model tests for linear/radialGradient. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/custom/gradient-stop-outside-gradient-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/gradient-stop-outside-gradient.html
diff --git a/LayoutTests/svg/custom/gradient-stop-outside-gradient.html b/LayoutTests/svg/custom/gradient-stop-outside-gradient.html
new file mode 100644
index 0000000000000000000000000000000000000000..5143677f00135a71b015298aa288212ee3a8b006
--- /dev/null
+++ b/LayoutTests/svg/custom/gradient-stop-outside-gradient.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<svg style="margin: 0">
+ <stop></stop>
+</svg>
+<p>PASS if the test doesn't crash.</p>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+if (window.eventSender)
+ eventSender.mouseMoveTo(10, 10);
+</script>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/gradient-stop-outside-gradient-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698