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

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

Issue 211193006: DevTools: [CSS] use setStyleText as undo action for setPropertyText (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: do not crash renderer in case of invalid styleId Created 6 years, 9 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-property-text-inline-expected.txt
diff --git a/LayoutTests/inspector-protocol/css/css-set-property-text-inline-expected.txt b/LayoutTests/inspector-protocol/css/css-set-property-text-inline-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6a047a81ea378f7b5a7b868ca38655f35350a157
--- /dev/null
+++ b/LayoutTests/inspector-protocol/css/css-set-property-text-inline-expected.txt
@@ -0,0 +1,23 @@
+Some red text goes here
+==== Initial style sheet text ====
+color: red; border: 0px;
+
+Running test: testEditProperty
+==== Style sheet text ====
+content: 'EDITED PROPERTY'; border: 0px;
+
+Running test: testBreakingCommentEditProperty
+Expected protocol error: SyntaxError The property '/*<--OPENED COMMENT' could not be set.
+
+Running test: testInsertFirstProperty
+==== Style sheet text ====
+content: 'INSERTED PROPERTY';color: red; border: 0px;
+
+Running test: testInsertMultipleProperties
+==== Style sheet text ====
+content: 'INSERTED #1';content: 'INSERTED #2'; border: 0px;
+
+Running test: testInsertLastProperty
+==== Style sheet text ====
+color: red; border: 0px;content: 'INSERTED PROPERTY';
+

Powered by Google App Engine
This is Rietveld 408576698