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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html

Issue 2927573004: DevTools: migrate StylesSidebarPane to shadow (Closed)
Patch Set: with similarity 10 Created 3 years, 6 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-4/style-update-during-selector-edit.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html
index 897a5d127f7b86a718accab0702e4533bae7da39..3e0cacd6f659526594a5c7656b3928a21480f09e 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/style-update-during-selector-edit.html
@@ -34,7 +34,7 @@ function test()
InspectorTest.addSniffer(Elements.StylesSidebarPane.prototype, "doUpdate", rebuildUpdate);
InspectorTest.domModel.addEventListener(SDK.DOMModel.Events.AttrModified, attributeChanged, this);
// Click "Add new rule".
- document.querySelector(".styles-pane-toolbar").shadowRoot.querySelector(".largeicon-add").click();
+ UI.panels.elements._stylesWidget.contentElement.querySelector(".styles-pane-toolbar").shadowRoot.querySelector(".largeicon-add").click();
InspectorTest.evaluateInPage("addStyleClass()", step2);
}

Powered by Google App Engine
This is Rietveld 408576698