Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / HTMLMetaElement / meta-attributes.html
blobe7b5555875ac52088f06c00e44eb8826b6b9281b
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();
11 function checkExpected(actual, expected)
13 if (actual != expected)
14 document.writeln("<p>FAILURE: expected \"" + expected + "\", actual \"" + actual + "\"</p>");
15 else
16 document.writeln("<p>SUCCESS (value: \"" + actual + "\")</p>");
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>
27 </body>
28 </html>