| Index: LayoutTests/inspector/elements/styles/styles-add-new-rule-tab.html
|
| diff --git a/LayoutTests/inspector/elements/styles/styles-add-new-rule-tab.html b/LayoutTests/inspector/elements/styles/styles-add-new-rule-tab.html
|
| index 7f9d38a2c54fbbe3840258769350600397ab47f9..46c178d34cbe98454946a37ed586d420eed7f1e0 100644
|
| --- a/LayoutTests/inspector/elements/styles/styles-add-new-rule-tab.html
|
| +++ b/LayoutTests/inspector/elements/styles/styles-add-new-rule-tab.html
|
| @@ -23,7 +23,7 @@ function test()
|
| {
|
| // Click "Add new rule".
|
| document.getElementById("add-style-button-test-id").click();
|
| - var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
|
| + var section = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][2];
|
| section._selectorElement.textContent = "foo, " + section._selectorElement.textContent + ", bar";
|
| section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
|
| InspectorTest.runAfterPendingDispatches(step2);
|
| @@ -31,7 +31,7 @@ function test()
|
|
|
| function step2()
|
| {
|
| - var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
|
| + var section = WebInspector.inspectorView.panel("elements").sidebarPanes.styles.sections[0][2];
|
| var newProperty = section.addNewBlankProperty();
|
| newProperty.startEditing();
|
| textInputController.insertText("color");
|
|
|