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

Unified Diff: LayoutTests/inspector/elements/styles/commit-selector-mark-matching.html

Issue 441873010: DevTools: [SSP] Implement adding new rule in user stylesheet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: minor changes 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/commit-selector-mark-matching.html
diff --git a/LayoutTests/inspector/elements/styles/commit-selector-mark-matching.html b/LayoutTests/inspector/elements/styles/commit-selector-mark-matching.html
index 4885e1b4f05661999db6aab035a1853a8e234612..c38393e677f80b345fabb36172209df794084c55 100644
--- a/LayoutTests/inspector/elements/styles/commit-selector-mark-matching.html
+++ b/LayoutTests/inspector/elements/styles/commit-selector-mark-matching.html
@@ -23,12 +23,7 @@ function test()
{
nodeId = node.id;
stylesPane = WebInspector.panels.elements.sidebarPanes.styles;
- stylesPane.addBlankSection();
- var section = stylesPane.sections[0][2];
- section.startEditingSelector();
- section._selectorElement.textContent = "foo, #inspected, .bar, #inspected";
- section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
- InspectorTest.runAfterPendingDispatches(callback);
+ InspectorTest.addNewRule("foo, #inspected, .bar, #inspected", callback);
}
function callback()

Powered by Google App Engine
This is Rietveld 408576698