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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles/up-down-numerics-and-colors.html

Issue 2327983002: [DevTools] Migrate StylesSidebarPane to TreeOutlineInShadow. (Closed)
Patch Set: filtering, tests 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/elements/styles/up-down-numerics-and-colors.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles/up-down-numerics-and-colors.html b/third_party/WebKit/LayoutTests/inspector/elements/styles/up-down-numerics-and-colors.html
index 62aba61ca49dfeec3311806eba3be28600a6a096..e4fe3e58eaf3e6977e823440c2743cccb26a1ca0 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles/up-down-numerics-and-colors.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles/up-down-numerics-and-colors.html
@@ -56,7 +56,7 @@ function test()
{
var treeElement = InspectorTest.getMatchedStylePropertyTreeItem("transform");
treeElement.startEditing(treeElement.valueElement);
- var selection = window.getSelection();
+ var selection = treeElement.valueElement.getComponentSelection();
var range = selection.getRangeAt(0);
var newRange = document.createRange();
newRange.setStart(range.startContainer, 10);

Powered by Google App Engine
This is Rietveld 408576698