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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/syntax/parsing/math-parse03.html

Issue 2020943002: update-w3c-deps: Do not modify testharness tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>math in html: parsing</title> 4 <title>math in html: parsing</title>
5 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharnessreport.js"></script> 6 <script src="/resources/testharnessreport.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <h1>math in html: parsing</h1> 9 <h1>math in html: parsing</h1>
10 10
11 <div id="log"></div> 11 <div id="log"></div>
12 12
13 <div> 13 <div>
14 <div><MATH id="m1"><Mtext/></math></div> 14 <div><MATH id="m1"><Mtext/></math></div>
15 <div id="d1"><math><MI MATHVARIANT="BOLD" /></math></div> 15 <div id="d1"><math><MI MATHVARIANT="BOLD" /></math></div>
16 <div id="d2"><math><semantics DEFINITIONurl="www.example.org/FOO"><mi>a</mi><ann otation-xml><foo/><bar/></annotation-xml></semantics></math></div> 16 <div id="d2"><math><semantics DEFINITIONurl="www.example.org/FOO"><mi>a</mi><ann otation-xml><foo/><bar/></annotation-xml></semantics></math></div>
17 <div><math id="m3span-mtext"><mtext><Span>x</span></mtext></math></div> 17 <div><math id="m3span-mtext"><mtext><Span>x</Span></mtext></math></div>
18 <div><math id="m3span-mi"><mi><Span>x</span></mi></math></div> 18 <div><math id="m3span-mi"><mi><Span>x</Span></mi></math></div>
19 <div><math id="m3span-mrow"><mi><Span>x</span></mrow></math></div> 19 <div><math id="m3span-mrow"><mi><Span>x</Span></mrow></math></div>
20 <div><math id="m3p-mtext"><mtext><P>x</p></mtext></math></div> 20 <div><math id="m3p-mtext"><mtext><P>x</P></mtext></math></div>
21 <div><math id="m3p-mi"><mi><P>x</p></mi></math></div> 21 <div><math id="m3p-mi"><mi><P>x</P></mi></math></div>
22 <div id="d3p-mrow"><math><mrow><P>x</p><mi>y</mi></mrow></math></div> 22 <div id="d3p-mrow"><math><mrow><P>x</P><mi>y</mi></mrow></math></div>
23 <div><math id="m4"><mtext><Undefinedelement>x</undefinedelement></mtext></math>< /div> 23 <div><math id="m4"><mtext><Undefinedelement>x</Undefinedelement></mtext></math>< /div>
24 <div><math id="m5"><mtext><mi>x</mi></mtext></math></div> 24 <div><math id="m5"><mtext><mi>x</mi></mtext></math></div>
25 <div><math><semantics><mi>x</mi> 25 <div><math><semantics><mi>x</mi>
26 <annotation-xml><p id="p6default">x</p></annotation-xml> 26 <annotation-xml><p id="p6default">x</p></annotation-xml>
27 </semantics></math></div> 27 </semantics></math></div>
28 <div><math><semantics><mi>x</mi> 28 <div><math><semantics><mi>x</mi>
29 <annotation-xml encoding=text/html><p id="p6texthtml">x</p ></annotation-xml> 29 <annotation-xml encoding=text/html><p id="p6texthtml">x</p ></annotation-xml>
30 </semantics></math></div> 30 </semantics></math></div>
31 <div><math><semantics><mi>x</mi> 31 <div><math><semantics><mi>x</mi>
32 <annotation-xml encoding=TEXT/HTML><p id="p6uctexthtml">x< /p></annotation-xml> 32 <annotation-xml encoding=TEXT/HTML><p id="p6uctexthtml">x< /p></annotation-xml>
33 </semantics></math></div> 33 </semantics></math></div>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 test(function() { 123 test(function() {
124 assert_equals(document.getElementById("p6applicationxhtmlxml").parentNode.nodeNa me,"annotation-xml") 124 assert_equals(document.getElementById("p6applicationxhtmlxml").parentNode.nodeNa me,"annotation-xml")
125 },"p in annotation-xml encoding=application/xhtml+xml stays as child of annotati on-xml"); 125 },"p in annotation-xml encoding=application/xhtml+xml stays as child of annotati on-xml");
126 126
127 test(function() { 127 test(function() {
128 assert_equals(document.getElementById("p6foo").parentNode.nodeName,"DIV") 128 assert_equals(document.getElementById("p6foo").parentNode.nodeName,"DIV")
129 },"p in annotation-xml encoding=foo moves to be child of DIV"); 129 },"p in annotation-xml encoding=foo moves to be child of DIV");
130 </script> 130 </script>
131 </body> 131 </body>
132 </html> 132 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698