| OLD | NEW |
| 1 Verifies CSS pretty-printing functionality. | 1 Verifies CSS pretty-printing functionality. |
| 2 | 2 |
| 3 | 3 |
| 4 Running: testSimpleCSS | 4 Running: testSimpleCSS |
| 5 ====== 8< ------ | 5 ====== 8< ------ |
| 6 a { | 6 a { |
| 7 /* pre-comment */ | 7 /* pre-comment */ |
| 8 color /* after name */ : /* before value */ red /* post-comment */ | 8 color /* after name */ : /* before value */ red /* post-comment */ |
| 9 } | 9 } |
| 10 | 10 |
| 11 ------ >8 ====== | 11 ------ >8 ====== |
| 12 Correct mapping for <pre-comment> |
| 13 Correct mapping for <post-comment> |
| 12 | 14 |
| 13 Running: testComplexCSS | 15 Running: testComplexCSS |
| 14 ====== 8< ------ | 16 ====== 8< ------ |
| 15 @media screen { | 17 @media screen { |
| 16 html { | 18 html { |
| 17 color: green; | 19 color: green; |
| 18 foo-property: bar-value | 20 foo-property: bar-value |
| 19 } | 21 } |
| 20 } | 22 } |
| 21 } | 23 } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 to { | 49 to { |
| 48 left: 100px; | 50 left: 100px; |
| 49 } | 51 } |
| 50 } | 52 } |
| 51 </style><style> | 53 </style><style> |
| 52 badbraces { | 54 badbraces { |
| 53 } | 55 } |
| 54 } | 56 } |
| 55 | 57 |
| 56 @media screen { | 58 @media screen { |
| 57 a { | 59 a.b { |
| 58 color: red; | 60 color: red; |
| 59 text-decoration: none | 61 text-decoration: none |
| 60 } | 62 } |
| 61 } | 63 } |
| 62 </style></body></html> | 64 </style></body></html> |
| 63 ------ >8 ====== | 65 ------ >8 ====== |
| 64 | 66 |
| 65 Running: testNonZeroLineMapping | 67 Running: testNonZeroLineMapping |
| 66 ====== 8< ------ | 68 ====== 8< ------ |
| 67 div { | 69 div { |
| 68 color: red; | 70 color: red; |
| 69 } | 71 } |
| 70 | 72 |
| 71 ------ >8 ====== | 73 ------ >8 ====== |
| 72 Correct mapping for <div> | 74 Correct mapping for <div> |
| 73 Correct mapping for <color> | 75 Correct mapping for <color> |
| 74 Correct mapping for <red> | 76 Correct mapping for <red> |
| 75 | 77 |
| 78 Running: testComplexSelector |
| 79 ====== 8< ------ |
| 80 a.b.c:hover,.d.e.f.g::before,h.i { |
| 81 color: red; |
| 82 } |
| 83 |
| 84 ------ >8 ====== |
| 85 Correct mapping for <a> |
| 86 Correct mapping for <.b> |
| 87 Correct mapping for <.c> |
| 88 Correct mapping for <.d> |
| 89 Correct mapping for <.e> |
| 90 Correct mapping for <.f> |
| 91 Correct mapping for <.g> |
| 92 Correct mapping for <h> |
| 93 Correct mapping for <.i> |
| 94 Correct mapping for <color> |
| 95 Correct mapping for <red> |
| 96 |
| OLD | NEW |