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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/traversal/TreeWalker-previousSiblingLastChildSkip.html

Issue 2303013002: Add UMA metric to track usage of sending a mousedown to select elements. (Closed)
Patch Set: W3C auto test import CL. Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Test adapted from https://mxr.mozilla.org/chromium/source/src/third_party/WebKit /LayoutTests/fast/dom/TreeWalker/script-tests/previousSiblingLastChildSkip.js 4 Test adapted from https://dxr.mozilla.org/chromium/source/src/third_party/WebKit /LayoutTests/fast/dom/TreeWalker/script-tests/previousSiblingLastChildSkip.js
5 --> 5 -->
6 <head> 6 <head>
7 <title>TreeWalker: previousSiblingLastChildSkip</title> 7 <title>TreeWalker: previousSiblingLastChildSkip</title>
8 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script> 9 <script src="/resources/testharnessreport.js"></script>
10 <script src="traversal-support.js"></script> 10 <script src="traversal-support.js"></script>
11 <div id=log></div> 11 <div id=log></div>
12 </head> 12 </head>
13 <body> 13 <body>
14 <p>Test that previousSibling properly respects the filter.</p> 14 <p>Test that previousSibling properly respects the filter.</p>
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 assert_node(walker.nextNode(), { type: Element, id: 'D2' }); 82 assert_node(walker.nextNode(), { type: Element, id: 'D2' });
83 assert_node(walker.currentNode, { type: Element, id: 'D2' }); 83 assert_node(walker.currentNode, { type: Element, id: 'D2' });
84 assert_node(walker.nextNode(), { type: Element, id: 'B2' }); 84 assert_node(walker.nextNode(), { type: Element, id: 'B2' });
85 assert_node(walker.currentNode, { type: Element, id: 'B2' }); 85 assert_node(walker.currentNode, { type: Element, id: 'B2' });
86 assert_node(walker.previousSibling(), { type: Element, id: 'C2' }); 86 assert_node(walker.previousSibling(), { type: Element, id: 'C2' });
87 assert_node(walker.currentNode, { type: Element, id: 'C2' }); 87 assert_node(walker.currentNode, { type: Element, id: 'C2' });
88 }, 'Test that previousSibling properly respects the filter.'); 88 }, 'Test that previousSibling properly respects the filter.');
89 </script> 89 </script>
90 </body> 90 </body>
91 </html> 91 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698