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

Unified Diff: LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html

Issue 441873010: DevTools: [SSP] Implement adding new rule in user stylesheet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix compilation error Created 6 years, 4 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: LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html
diff --git a/LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html b/LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html
index ceb346d2300b0c934574dfcd5bf54b5ea99a5fd2..57f5f513daae1f0a7067eef143fd397338551fb9 100644
--- a/LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html
+++ b/LayoutTests/inspector/elements/styles/styles-add-new-rule-colon.html
@@ -44,8 +44,12 @@ function test()
function step4()
{
// Click "Add new rule".
- document.getElementById("add-style-button-test-id").click();
- InspectorTest.selectNodeAndWaitForStyles("inspected", step5);
+ InspectorTest.addNewRule(null, onRuleAdded);
+
+ function onRuleAdded()
+ {
+ InspectorTest.selectNodeAndWaitForStyles("inspected", step5);
+ }
}
function step5()

Powered by Google App Engine
This is Rietveld 408576698