blob: 97b0d63e4eb587c406d2adb04f4a3dbf8d66b92c [file] [log] [blame]
The test verifies functionality of protocol method CSS.setStyleTexts 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: Failed applying edit #0: SyntaxError Style text is not valid.
Stylesheet text: color: red;
Running test: testDeleteStyleBody
==== Style sheet text ====
Stylesheet text:
Running test: testSetStyleOpenComment
Expected protocol error: Failed applying edit #0: SyntaxError Style text is not valid.
Stylesheet text: color: red;