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

Unified Diff: webkit/data/layout_tests/chrome/svg/custom/new-image-is-html-element.svg

Issue 504079: Remove tests that have been upstreamed:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add test_expectations.txt mods Created 11 years 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
Index: webkit/data/layout_tests/chrome/svg/custom/new-image-is-html-element.svg
===================================================================
--- webkit/data/layout_tests/chrome/svg/custom/new-image-is-html-element.svg (revision 35112)
+++ webkit/data/layout_tests/chrome/svg/custom/new-image-is-html-element.svg (working copy)
@@ -1,14 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
- <text id="result" y="100"/>
- <script>
- if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
- // Firefox, Opera, and Safari all treat "new Image()" as creating an
- // HTML image element regardless of the current doctype. Ensure that
- // Chrome's behavior is the same
-
- var pass = "[object HTMLImageElement]" == new Image();
- document.getElementById("result").appendChild(document.createTextNode(pass ? "PASS" : "FAIL"));
- </script>
-</svg>

Powered by Google App Engine
This is Rietveld 408576698