| 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()
|
|
|