| Index: LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt
|
| diff --git a/LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt b/LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..11d5160940442266db0548221dc10b39d5bf1c11
|
| --- /dev/null
|
| +++ b/LayoutTests/inspector-protocol/css/css-set-style-text-expected.txt
|
| @@ -0,0 +1,153 @@
|
| +The test verifies functionality of protocol method CSS.setStyleText.
|
| +
|
| +==== Initial style sheet text ====
|
| +#test {
|
| + box-sizing: border-box;
|
| +}
|
| +
|
| +#test {
|
| + /* resetting some properties */
|
| + line-height: 1;
|
| + font-family: "Arial";
|
| + color: blue;
|
| + display: flex; /* flex FTW! */
|
| +}
|
| +
|
| +@media (min-width: 1px) {
|
| + #test {
|
| + font-size: 200%;
|
| + }
|
| +
|
| + #test {
|
| + }
|
| +}
|
| +
|
| +
|
| +
|
| +Running test: testBasicSetStyle
|
| +==== Style sheet text ====
|
| +#test {
|
| + content: 'EDITED';
|
| +}
|
| +
|
| +#test {
|
| + /* resetting some properties */
|
| + line-height: 1;
|
| + font-family: "Arial";
|
| + color: blue;
|
| + display: flex; /* flex FTW! */
|
| +}
|
| +
|
| +@media (min-width: 1px) {
|
| + #test {
|
| + font-size: 200%;
|
| + }
|
| +
|
| + #test {
|
| + }
|
| +}
|
| +
|
| +
|
| +Dumping matched rules:
|
| +*#test* { regular
|
| + content: 'EDITED';
|
| +}
|
| +*#test* { regular
|
| + line-height: 1;
|
| + font-family: "Arial";
|
| + color: blue;
|
| + display: flex;
|
| +}
|
| +@media (min-width: 1px)
|
| + *#test* { regular
|
| + font-size: 200%;
|
| + }
|
| +@media (min-width: 1px)
|
| + *#test* { regular
|
| + }
|
| +
|
| +Running test: testSetStylePoorContent
|
| +Expected protocol error: SyntaxError Style text is not valid.
|
| +Dumping matched rules:
|
| +*#test* { regular
|
| + box-sizing: border-box;
|
| +}
|
| +*#test* { regular
|
| + line-height: 1;
|
| + font-family: "Arial";
|
| + color: blue;
|
| + display: flex;
|
| +}
|
| +@media (min-width: 1px)
|
| + *#test* { regular
|
| + font-size: 200%;
|
| + }
|
| +@media (min-width: 1px)
|
| + *#test* { regular
|
| + }
|
| +
|
| +Running test: testSetStyleInMedia
|
| +==== Style sheet text ====
|
| +#test {
|
| + box-sizing: border-box;
|
| +}
|
| +
|
| +#test {
|
| + /* resetting some properties */
|
| + line-height: 1;
|
| + font-family: "Arial";
|
| + color: blue;
|
| + display: flex; /* flex FTW! */
|
| +}
|
| +
|
| +@media (min-width: 1px) {
|
| + #test {
|
| + content: 'EDITED';
|
| + color: red;
|
| + /** foo */
|
| + }
|
| +
|
| + #test {
|
| + }
|
| +}
|
| +
|
| +
|
| +Dumping matched rules:
|
| +*#test* { regular
|
| + box-sizing: border-box;
|
| +}
|
| +*#test* { regular
|
| + line-height: 1;
|
| + font-family: "Arial";
|
| + color: blue;
|
| + display: flex;
|
| +}
|
| +@media (min-width: 1px)
|
| + *#test* { regular
|
| + content: 'EDITED';
|
| + color: red;
|
| + }
|
| +@media (min-width: 1px)
|
| + *#test* { regular
|
| + }
|
| +
|
| +Running test: testSetStylePoorRange
|
| +Expected protocol error: Specified range is out of bounds
|
| +Dumping matched rules:
|
| +*#test* { regular
|
| + box-sizing: border-box;
|
| +}
|
| +*#test* { regular
|
| + line-height: 1;
|
| + font-family: "Arial";
|
| + color: blue;
|
| + display: flex;
|
| +}
|
| +@media (min-width: 1px)
|
| + *#test* { regular
|
| + font-size: 200%;
|
| + }
|
| +@media (min-width: 1px)
|
| + *#test* { regular
|
| + }
|
| +
|
|
|