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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/semantics/grouping-content/the-dl-element/grouping-dl.html

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>the dl element</title>
6 <link rel="author" title="dzenana" href="mailto:dzenana.trenutak@gmail.com">
7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-dl-elemen t">
8 <script src="../../../../../../resources/testharness.js"></script>
9 <script src="../../../../../../resources/testharnessreport.js"></script>
10 <script>
11 "use strict";
12
13 // check that prototype matches spec's DOM interface
14 test(function () {
15 var testElement = document.createElement("dl");
16 assert_equals(Object.getPrototypeOf(testElement), HTMLDListElement.p rototype, "HTMLDListElement.prototype should be used for dl");
17 }, "The prototype for dl is HTMLDListElement.prototype");
18
19 // Not checking: effects of markup on defining groups and the name-pair values within those groups
20
21 </script>
22 </head>
23 <body>
24 <h1>Description</h1>
25 <p>This test validates the dl element.</p>
26
27 <div id="log"></div>
28
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698