| OLD | NEW |
| (Empty) | |
| 1 ==== Initial style sheet text ==== |
| 2 |
| 3 div { |
| 4 color: red; |
| 5 } |
| 6 |
| 7 |
| 8 |
| 9 Running test: testInsertText |
| 10 ==== Style sheet text ==== |
| 11 * { border: 1px } |
| 12 div { |
| 13 color: red; |
| 14 } |
| 15 |
| 16 |
| 17 |
| 18 Running test: testMultiLineEdit |
| 19 ==== Style sheet text ==== |
| 20 * { border: 1px } |
| 21 div { |
| 22 background-color: blue; |
| 23 font-size: 12px; |
| 24 } |
| 25 |
| 26 |
| 27 |
| 28 Running test: testReplaceText |
| 29 ==== Style sheet text ==== |
| 30 * { border: 1px } |
| 31 p, span:hover { |
| 32 background-color: blue; |
| 33 font-size: 12px; |
| 34 } |
| 35 |
| 36 |
| 37 |
| 38 Running test: testInsertInTheEnd |
| 39 ==== Style sheet text ==== |
| 40 * { border: 1px } |
| 41 p, span:hover { |
| 42 background-color: blue; |
| 43 font-size: 12px; |
| 44 } |
| 45 * { box-sizing: border-box; } |
| 46 |
| 47 |
| 48 |
| 49 Running test: testRemoveText |
| 50 ==== Style sheet text ==== |
| 51 * { border: 1px } |
| 52 p, span:hover { |
| 53 background-color: blue; |
| 54 } |
| 55 * { box-sizing: border-box; } |
| 56 |
| 57 |
| 58 |
| 59 Running test: testInvalidParameters |
| 60 Expected protocol error: range.startLine must be an integer value |
| 61 |
| 62 Running test: testNegativeRangeParameters |
| 63 Expected protocol error: Range parameters must be non-negative integer values |
| 64 |
| 65 Running test: testOutOfBoundsRangeParametersNoCrash |
| 66 Expected protocol error: Specified range is out of bounds |
| 67 |
| 68 Running test: testReversedRange |
| 69 Expected protocol error: Range start must preceed its end |
| 70 |
| OLD | NEW |