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

Side by Side Diff: third_party/WebKit/LayoutTests/html/document-metadata/meta-attributes.html

Issue 2780363002: Rename subdirectory names in LayoutTests/html/. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <meta id="test" name="foo" scheme="bar" http-equiv="content-type" content="text/ html; charset=UTF-8">
4 </head>
5 <body>
6 You should see 5 lines with "SUCCESS" below:
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
10
11 function checkExpected(actual, expected)
12 {
13 if (actual != expected)
14 document.writeln("<p>FAILURE: expected \"" + expected + "\", actual \"" + actual + "\"</p>");
15 else
16 document.writeln("<p>SUCCESS (value: \"" + actual + "\")</p>");
17 }
18
19 var metaTag = document.getElementById("test");
20 checkExpected(metaTag, "[object HTMLMetaElement]");
21 checkExpected(metaTag.name, "foo");
22 checkExpected(metaTag.scheme, "bar");
23 checkExpected(metaTag.httpEquiv, "content-type");
24 checkExpected(metaTag.content, "text/html; charset=UTF-8");
25 </script>
26
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698