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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/mathml/relations/html5-tree/unique-identifier-2.html

Issue 2425083003: Import wpt@4114c724042b41e257caab98f3eb23c143b50de4 (Closed)
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Unique Identifier</title>
6 <link rel="help" href="http://www.mathml-association.org/MathMLinHTML5/S2.html#S S1.SSS2">
7 <meta name="assert" content="Verify whether the getElementById() works for MathM L elements.">
8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script>
10 <script>
11 setup({ explicit_done: true });
12 window.addEventListener("DOMContentLoaded", function() {
13 var mtext = document.getElementById("MTEXT");
14 test(function() {
15 assert_equals(mtext, document.body.firstElementChild.lastElementChild);
16 }, "getElementById()");
17 done();
18 });
19 </script>
20 </head>
21 <body>
22 <math>
23 <mtext id="MTEXT_"></mtext>
24 <mtext id="MTEX"></mtext>
25 <mtext id="MTEXT"></mtext>
26 </math>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698