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

Unified Diff: LayoutTests/inspector/elements/elements-panel-search.html

Issue 640953004: DevTools: Fix elements panel search in shadow host. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/elements-panel-search-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/elements/elements-panel-search.html
diff --git a/LayoutTests/inspector/elements/elements-panel-search.html b/LayoutTests/inspector/elements/elements-panel-search.html
index 0e8a11b9e8395dab2a6ef858ccfe2a361add2dc9..58f8e5622fe292341f596d2e07a6265d2ca121b0 100644
--- a/LayoutTests/inspector/elements/elements-panel-search.html
+++ b/LayoutTests/inspector/elements/elements-panel-search.html
@@ -157,7 +157,12 @@ function test()
InspectorTest.addResult("Searching UA shadow DOM with setting enabled:")
WebInspector.domModel.performSearch("inne" + "r-editor", true, searchCallback.bind(this, next));
}
- }
+ },
+
+ function testSearchShadowHostChildren(next)
+ {
+ WebInspector.domModel.performSearch("shadow-host-c" + "ontent", false, searchCallback.bind(this, next));
+ },
]);
}
@@ -178,7 +183,7 @@ Tests that elements panel search is returning proper results.
<span class="CASELESS"></span>
<span data-camel="insenstive"></span>
<div id="shadow-host">
- <div id="shadow-root-content"></div>
+ <div id="shadow-host-content"></div>
</div>
<template id="shadow-dom-template">
<div id="shadow-dom-outer">
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/elements-panel-search-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698