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

Unified Diff: LayoutTests/svg/dom/SVGLength-value-in-inactive-document.html

Issue 1166683003: Handle SVGLength resolving in an inactive document gracefully (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/dom/SVGLength-value-in-inactive-document-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGLength-value-in-inactive-document.html
diff --git a/LayoutTests/svg/dom/SVGLength-value-in-inactive-document.html b/LayoutTests/svg/dom/SVGLength-value-in-inactive-document.html
new file mode 100644
index 0000000000000000000000000000000000000000..c963db0e9d7de0b640023195afc64aaa6b7f3e35
--- /dev/null
+++ b/LayoutTests/svg/dom/SVGLength-value-in-inactive-document.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+var svgNs = "http://www.w3.org/2000/svg";
+var element = document.createElementNS(svgNs, "feTurbulence");
+var doc = document.implementation.createDocument(svgNs, "svg");
+doc.documentElement.appendChild(element);
+element.setAttribute("y", "42em");
+element.y.baseVal.value;
+</script>
+<p>PASS if no assert is triggered.</p>
« no previous file with comments | « no previous file | LayoutTests/svg/dom/SVGLength-value-in-inactive-document-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698