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

Unified Diff: LayoutTests/svg/custom/use-invalid-html.xhtml

Issue 3007044: Merge 63865 - 2010-07-21 Justin Schuh <jschuh@chromium.org>... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/WebKit/375/
Patch Set: Created 10 years, 4 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/use-invalid-html-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/use-invalid-html.xhtml
===================================================================
--- LayoutTests/svg/custom/use-invalid-html.xhtml (revision 0)
+++ LayoutTests/svg/custom/use-invalid-html.xhtml (revision 55439)
@@ -0,0 +1,19 @@
+<html>This test passes if a malformed html document triggers an error, not crash.
+ <svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ onload="restyle()">
+ <script>
+ if (window.layoutTestController)
+ layoutTestController.dumpAsText();
+ function restyle() {
+ document.getElementById("b").style.position = "absolute";
+ }
+ </script>
+ <defs>
+ <g id="a" />
+ </defs>
+ <g id="b">
+ <use xlink:href="#a" />
+ </g>
+ </svg>
+<!-- no closing html tag --->
« no previous file with comments | « no previous file | LayoutTests/svg/custom/use-invalid-html-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698