OLD | NEW |
1 The test verifies functionality of protocol method CSS.setStyleText for inline e
lements. | 1 The test verifies functionality of protocol method CSS.setStyleTexts for inline
elements. |
2 | 2 |
3 ==== Initial style sheet text ==== | 3 ==== Initial style sheet text ==== |
4 color: red; | 4 color: red; |
5 | 5 |
6 Running test: testBasicSetStyle | 6 Running test: testBasicSetStyle |
7 ==== Style sheet text ==== | 7 ==== Style sheet text ==== |
8 content: 'EDITED' | 8 content: 'EDITED' |
9 Stylesheet text: content: 'EDITED' | 9 Stylesheet text: content: 'EDITED' |
10 | 10 |
11 Running test: testSetStylePoorContent | 11 Running test: testSetStylePoorContent |
12 Expected protocol error: SyntaxError Style text is not valid. | 12 Expected protocol error: Failed applying edit #0: SyntaxError Style text is not
valid. |
13 Stylesheet text: color: red; | 13 Stylesheet text: color: red; |
14 | 14 |
15 Running test: testDeleteStyleBody | 15 Running test: testDeleteStyleBody |
16 ==== Style sheet text ==== | 16 ==== Style sheet text ==== |
17 | 17 |
18 Stylesheet text: | 18 Stylesheet text: |
19 | 19 |
20 Running test: testSetStyleOpenComment | 20 Running test: testSetStyleOpenComment |
21 Expected protocol error: SyntaxError Style text is not valid. | 21 Expected protocol error: Failed applying edit #0: SyntaxError Style text is not
valid. |
22 Stylesheet text: color: red; | 22 Stylesheet text: color: red; |
23 | 23 |
OLD | NEW |