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

Unified Diff: LayoutTests/fast/innerHTML/innerHTML-svg-read.html

Issue 52203002: Revert "Move innerHTML and outerHTML to Element" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/fast/innerHTML/innerHTML-svg-read-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/innerHTML/innerHTML-svg-read.html
diff --git a/LayoutTests/fast/innerHTML/innerHTML-svg-read.html b/LayoutTests/fast/innerHTML/innerHTML-svg-read.html
deleted file mode 100644
index c42440b7fb0881899594e706235ea54adf5d6436..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/innerHTML/innerHTML-svg-read.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<html>
-<head>
-<script src="../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<div style="visibility:hidden">
- <svg id="emptysvg"></svg>
- <svg id="rectsvg"><rect/></svg>
- <svg id="foreign" width="100" height="30"><foreignObject width="100" height="30"><p>html</p></foreignObject></svg>
-</div>
-<script>
-description("Test that accessing innerHTML and outerHTML properties works on SVG elements");
-
-var tests = [
- ['innerHTML("emptysvg")' , ''],
- ['innerHTML("rectsvg")' , '<rect></rect>' ],
- ['innerHTML("foreign")' , '<foreignObject width="100" height="30"><p>html</p></foreignObject>' ],
- ['outerHTML("emptysvg")' , '<svg id="emptysvg"></svg>'],
- ['outerHTML("rectsvg")' , '<svg id="rectsvg"><rect></rect></svg>' ],
- ];
-
-function innerHTML(id) {
- return document.getElementById(id).innerHTML;
-}
-
-function outerHTML(id) {
- return document.getElementById(id).outerHTML;
-}
-
-for (var i in tests) {
- shouldBeEqualToString(tests[i][0], tests[i][1]);
-}
-</script>
-<script src="../js/resources/js-test-post.js"></script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/innerHTML/innerHTML-svg-read-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698