| Index: LayoutTests/inspector/elements/styles/add-new-rule-with-style-after-body.html
|
| diff --git a/LayoutTests/inspector/elements/styles/add-new-rule-with-style-after-body.html b/LayoutTests/inspector/elements/styles/add-new-rule-with-style-after-body.html
|
| index b234f8bbe6c7da9e734ff4fec1778e4e3143667c..b35f0b0712859af05d76be2e462bd580c427406b 100644
|
| --- a/LayoutTests/inspector/elements/styles/add-new-rule-with-style-after-body.html
|
| +++ b/LayoutTests/inspector/elements/styles/add-new-rule-with-style-after-body.html
|
| @@ -29,7 +29,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 = "inspected";
|
| section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
|
| InspectorTest.runAfterPendingDispatches(step2);
|
| @@ -37,7 +37,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();
|
| newProperty.nameElement.textContent = "color";
|
|
|