function test()
{
- WebInspector.inspectorView.showPanel("elements");
InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
function step1()
treeElement.startEditing(treeElement.nameElement);
treeElement.nameElement.textContent = "background-image";
treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
- InspectorTest.addSniffer(WebInspector.StylePropertyTreeElement.prototype, "styleTextAppliedForTest", step2);
+ InspectorTest.waitForStyleApplied(step2);
}
function step2()