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

Side by Side Diff: LayoutTests/fast/xpath/xpath-detached-nodes.html

Issue 10869059: Merge 125631 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/xpath/xpath-detached-nodes-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p>This tests XPath expressions on detached document fragments and nodes. 7 <p>This tests XPath expressions on detached document fragments and nodes.
8 <br/>See https://bugs.webkit.org/show_bug.cgi?id=36427 8 <br/>See https://bugs.webkit.org/show_bug.cgi?id=36427
9 <div id="console"></div> 9 <div id="console"></div>
10 10
(...skipping 19 matching lines...) Expand all
30 result = document.evaluate("count(/html)", 30 result = document.evaluate("count(/html)",
31 ele, null, XPathResult.NUMBER_TYPE, null); 31 ele, null, XPathResult.NUMBER_TYPE, null);
32 shouldBe("result.numberValue", "0"); 32 shouldBe("result.numberValue", "0");
33 result = document.evaluate("/* | *", 33 result = document.evaluate("/* | *",
34 ele, null, XPathResult.NUMBER_TYPE, null); 34 ele, null, XPathResult.NUMBER_TYPE, null);
35 shouldBe("result.numberValue", "NaN"); 35 shouldBe("result.numberValue", "NaN");
36 </script> 36 </script>
37 <script src="../js/resources/js-test-post.js"></script> 37 <script src="../js/resources/js-test-post.js"></script>
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/xpath/xpath-detached-nodes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698