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

Unified Diff: LayoutTests/fast/dom/shadow/resources/shadow-dom.js

Issue 14508005: Support an Event Path API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Introduce TreeScope::isInclusiveAncestorOf Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/dom/shadow/event-path-in-shadow-tree-expected.txt ('k') | Source/core/dom/Event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/resources/shadow-dom.js
diff --git a/LayoutTests/fast/dom/shadow/resources/shadow-dom.js b/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
index cd9587cafc59c9b9e202d3562ddb28bd13b99784..8f276f8065ec99e402dc829a3d70bb61cabc6fe6 100644
--- a/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
+++ b/LayoutTests/fast/dom/shadow/resources/shadow-dom.js
@@ -81,10 +81,18 @@ function dumpNode(node)
{
if (!node)
return 'null';
- var output = '' + node;
if (node.id)
- output += ' id=' + node.id;
- return output;
+ return '#' + node.id;
+ return '' + node;
+}
+
+function dumpNodeList(nodeList) {
+ var result = "";
+ var length = nodeList.length;
+ for (var i = 0; i < length; i++)
+ result += dumpNode(nodeList[i]) + ", ";
+ result += "length: " + length;
+ return result;
}
function innermostActiveElement(element)
« no previous file with comments | « LayoutTests/fast/dom/shadow/event-path-in-shadow-tree-expected.txt ('k') | Source/core/dom/Event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698