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

Unified Diff: LayoutTests/svg/custom/html-document-set-title.html

Issue 291483003: Only set title on SVG documents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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/custom/html-document-set-title-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/html-document-set-title.html
diff --git a/LayoutTests/svg/custom/html-document-set-title.html b/LayoutTests/svg/custom/html-document-set-title.html
new file mode 100644
index 0000000000000000000000000000000000000000..6a0beef7ed0f652728379ec6cb4e0ac5919d815f
--- /dev/null
+++ b/LayoutTests/svg/custom/html-document-set-title.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+<script src="../../resources/js-test.js"></script>
+<script>
+ function runTest()
+ {
+ shouldBe('document.title', '""');
+ }
+</script>
+</head>
+<body onload="runTest()">
+<svg>
+<title>Should not be set on HTML Document</title>
+</svg>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/html-document-set-title-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698