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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <svg xmlns="http://www.w3.org/2000/svg">
2 <text id="result" y="100"/>
3 <script>
4 if (window.layoutTestController)
5 layoutTestController.dumpAsText();
6
7 // Firefox, Opera, and Safari all treat "new Image()" as creating an
8 // HTML image element regardless of the current doctype. Ensure that
9 // Chrome's behavior is the same
10
11 var pass = "[object HTMLImageElement]" == new Image();
12 document.getElementById("result").appendChild(document.createTextNode(pass ? "PASS" : "FAIL"));
13 </script>
14 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698