1 The test verifies functionality of protocol method CSS.setStyleText for inline elements.
3 ==== Initial style sheet text ====
6 Running test: testBasicSetStyle
7 ==== Style sheet text ====
9 Stylesheet text: content: 'EDITED'
11 Running test: testSetStylePoorContent
12 Expected protocol error: SyntaxError Style text is not valid.
13 Stylesheet text: color: red;
15 Running test: testDeleteStyleBody
16 ==== Style sheet text ====
20 Running test: testSetStyleOpenComment
21 Expected protocol error: SyntaxError Style text is not valid.
22 Stylesheet text: color: red;