| OLD | NEW |
| 1 ==== Initial style sheet text ==== | 1 ==== Initial style sheet text ==== |
| 2 @media screen and (min-width: 700px) and (max-device-height: 200em) { | 2 @media screen and (min-width: 700px) and (max-device-height: 200em) { |
| 3 body { | 3 body { |
| 4 padding: 0; | 4 padding: 0; |
| 5 } | 5 } |
| 6 } | 6 } |
| 7 | 7 |
| 8 @media all and (orientation: portrait), | 8 @media all and (orientation: portrait), |
| 9 handheld and (max-width: 700px), | 9 handheld and (max-width: 700px), |
| 10 (max-resolution: 3dppx) { | 10 (max-resolution: 3dppx) { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 handheld and (max-width: 700px), | 26 handheld and (max-width: 700px), |
| 27 (max-resolution: 3dppx) { | 27 (max-resolution: 3dppx) { |
| 28 body { | 28 body { |
| 29 padding: 10px; | 29 padding: 10px; |
| 30 } | 30 } |
| 31 } | 31 } |
| 32 | 32 |
| 33 | 33 |
| 34 Running test: testComplexToSimpleEdit | 34 Running test: testComplexToSimpleEdit |
| 35 ==== Style sheet text ==== | 35 ==== Style sheet text ==== |
| 36 @media screen and (max-device-height: 200em) and (min-width: 700px) { | 36 @media screen and (min-width: 700px) and (max-device-height: 200em) { |
| 37 body { | 37 body { |
| 38 padding: 0; | 38 padding: 0; |
| 39 } | 39 } |
| 40 } | 40 } |
| 41 | 41 |
| 42 @media all { | 42 @media all { |
| 43 body { | 43 body { |
| 44 padding: 10px; | 44 padding: 10px; |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 | 47 |
| 48 | 48 |
| 49 Running test: testSimpleToComplexEdit | 49 Running test: testSimpleToComplexEdit |
| 50 ==== Style sheet text ==== | 50 ==== Style sheet text ==== |
| 51 @media all and (min-height: 20px), (max-width: 10px), handheld and (min-monochro
me: 8) { | 51 @media all and (min-height: 20px), (max-width: 10px), handheld and (min-monochro
me: 8) { |
| 52 body { | 52 body { |
| 53 padding: 0; | 53 padding: 0; |
| 54 } | 54 } |
| 55 } | 55 } |
| 56 | 56 |
| 57 @media (orientation: portrait), handheld and (max-width: 700px), (max-resolutio
n: 3dppx) { | 57 @media all and (orientation: portrait), |
| 58 handheld and (max-width: 700px), |
| 59 (max-resolution: 3dppx) { |
| 58 body { | 60 body { |
| 59 padding: 10px; | 61 padding: 10px; |
| 60 } | 62 } |
| 61 } | 63 } |
| 62 | 64 |
| 63 | 65 |
| 64 Running test: testInvalidParameters | 66 Running test: testInvalidParameters |
| 65 Expected protocol error: range.startLine must be a non-negative integer | 67 Expected protocol error: range.startLine must be a non-negative integer |
| 66 | 68 |
| 67 Running test: testInvalidText | 69 Running test: testInvalidText |
| 68 Expected protocol error: SyntaxError Media text is not valid. | 70 Expected protocol error: SyntaxError Selector or media text is not valid. |
| 69 | 71 |
| 70 Running test: testEditSequentially | 72 Running test: testEditSequentially |
| 71 ==== Style sheet text ==== | 73 ==== Style sheet text ==== |
| 72 @media screen { | 74 @media screen { |
| 73 body { | 75 body { |
| 74 padding: 0; | 76 padding: 0; |
| 75 } | 77 } |
| 76 } | 78 } |
| 77 | 79 |
| 78 @media (orientation: portrait), handheld and (max-width: 700px), (max-resolutio
n: 3dppx) { | 80 @media all and (orientation: portrait), |
| 81 handheld and (max-width: 700px), |
| 82 (max-resolution: 3dppx) { |
| 79 body { | 83 body { |
| 80 padding: 10px; | 84 padding: 10px; |
| 81 } | 85 } |
| 82 } | 86 } |
| 83 | 87 |
| 84 ==== Style sheet text ==== | 88 ==== Style sheet text ==== |
| 85 @media all, | 89 @media all, |
| 86 handheld and (min-height: 20px), | 90 handheld and (min-height: 20px), |
| 87 (min-width: 100px) and (max-width: 200px) { | 91 (min-width: 100px) and (max-width: 200px) { |
| 88 body { | 92 body { |
| 89 padding: 0; | 93 padding: 0; |
| 90 } | 94 } |
| 91 } | 95 } |
| 92 | 96 |
| 93 @media (orientation: portrait), handheld and (max-width: 700px), (max-resolutio
n: 3dppx) { | 97 @media all and (orientation: portrait), |
| 98 handheld and (max-width: 700px), |
| 99 (max-resolution: 3dppx) { |
| 94 body { | 100 body { |
| 95 padding: 10px; | 101 padding: 10px; |
| 96 } | 102 } |
| 97 } | 103 } |
| 98 | 104 |
| 99 | 105 |
| 100 Running test: testSimpleAfterSequentially | 106 Running test: testSimpleAfterSequentially |
| 101 ==== Style sheet text ==== | 107 ==== Style sheet text ==== |
| 102 @media all and (min-height: 20px) { | 108 @media all and (min-height: 20px) { |
| 103 body { | 109 body { |
| 104 padding: 0; | 110 padding: 0; |
| 105 } | 111 } |
| 106 } | 112 } |
| 107 | 113 |
| 108 @media (orientation: portrait), handheld and (max-width: 700px), (max-resolutio
n: 3dppx) { | 114 @media all and (orientation: portrait), |
| 115 handheld and (max-width: 700px), |
| 116 (max-resolution: 3dppx) { |
| 109 body { | 117 body { |
| 110 padding: 10px; | 118 padding: 10px; |
| 111 } | 119 } |
| 112 } | 120 } |
| 113 | 121 |
| 114 | 122 |
| OLD | NEW |