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

Unified Diff: LayoutTests/inspector-protocol/css/css-set-inline-style-text-expected.txt

Issue 1181213007: DevTools: introduce CSS.setStyleText, we'll migrate setPropertyText to it later. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: win fixed Created 5 years, 6 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-protocol/css/css-set-inline-style-text-expected.txt
diff --git a/LayoutTests/inspector-protocol/css/css-set-inline-style-text-expected.txt b/LayoutTests/inspector-protocol/css/css-set-inline-style-text-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2e946ac8d5ceb9dbed4d5b1f613ec779b079c3ae
--- /dev/null
+++ b/LayoutTests/inspector-protocol/css/css-set-inline-style-text-expected.txt
@@ -0,0 +1,23 @@
+The test verifies functionality of protocol method CSS.setStyleText for inline elements.
+
+==== Initial style sheet text ====
+color: red;
+
+Running test: testBasicSetStyle
+==== Style sheet text ====
+content: 'EDITED'
+Stylesheet text: content: 'EDITED'
+
+Running test: testSetStylePoorContent
+Expected protocol error: SyntaxError Style text is not valid.
+Stylesheet text: color: red;
+
+Running test: testDeleteStyleBody
+==== Style sheet text ====
+
+Stylesheet text:
+
+Running test: testSetStyleOpenComment
+Expected protocol error: SyntaxError Style text is not valid.
+Stylesheet text: color: red;
+

Powered by Google App Engine
This is Rietveld 408576698