summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/inspector-protocol/css/css-set-inline-style-text-expected.txt
blob: 2af3a30e5829e29115bba0b27fa98bb2b9ed7a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;