OLD | NEW |
1 PASS | 1 PASS |
2 | 2 |
3 Tests the CSS highlight in sources after the Pretty print formatting. | 3 Tests the CSS highlight in sources after the Pretty print formatting. |
4 | 4 |
5 The below should be formatted | 5 The below should be formatted |
6 0: - .this-line-needs-to-be-longer-than-five-hundred-symbols { | 6 0: - .this-line-needs-to-be-longer-than-five-hundred-symbols { |
7 1: - } | 7 1: - } |
8 2: - | 8 2: - |
9 3: * body { | 9 3: + body { |
10 4: + background-color: lightblue; | 10 4: + background-color: lightblue; |
11 5: * } | 11 5: + } |
12 6: - | 12 6: - |
13 7: - .class { | 13 7: - .class { |
14 8: - color: red; | 14 8: - color: red; |
15 9: - } | 15 9: - } |
16 10: - | 16 10: - |
17 11: - .class2 { | 17 11: - .class2 { |
18 12: - color: green; | 18 12: - color: green; |
19 13: - font-style: italic; | 19 13: - font-style: italic; |
20 14: - } | 20 14: - } |
21 15: - | 21 15: - |
22 16: * #id { | 22 16: + #id { |
23 17: + color: blue | 23 17: + color: blue |
24 18: * } | 24 18: + } |
25 19: - | 25 19: - |
26 20: - notUsed { | 26 20: - notUsed { |
27 21: - color: black | 27 21: - color: black |
28 22: - } | 28 22: - } |
29 23: - | 29 23: - |
30 24: - notUsed2 { | 30 24: - notUsed2 { |
31 25: - color: white | 31 25: - color: white |
32 26: - } | 32 26: - } |
33 27: - | 33 27: - |
34 28: - #this-line-needs-to-be-longer-than-five-hundred-symbols.this-line-needs-to
-be-longer-than-five-hundred-symbols { | 34 28: - #this-line-needs-to-be-longer-than-five-hundred-symbols.this-line-needs-to
-be-longer-than-five-hundred-symbols { |
35 29: - content: "words don\'t come easy to me, how can I find a way to make a
longer line"; | 35 29: - content: "words don\'t come easy to me, how can I find a way to make a
longer line"; |
36 30: - color: lightgoldenrodyellow; | 36 30: - color: lightgoldenrodyellow; |
37 31: - background-color: lightgoldenrodyellow; | 37 31: - background-color: lightgoldenrodyellow; |
38 32: - border-color: lightgoldenrodyellow; | 38 32: - border-color: lightgoldenrodyellow; |
39 33: - } | 39 33: - } |
40 34: - | 40 34: - |
41 The below should NOT be formatted | 41 The below should NOT be formatted |
42 0: + body { | 42 0: + body { |
43 1: + background-color: lightblue; | 43 1: + background-color: lightblue; |
44 2: * } | 44 2: + } |
45 3: - | 45 3: - |
46 4: - .class { | 46 4: - .class { |
47 5: - color: red; | 47 5: - color: red; |
48 6: - } | 48 6: - } |
49 7: - | 49 7: - |
50 8: - .class2 { color:green;font-style: italic; | 50 8: - .class2 { color:green;font-style: italic; |
51 9: - } | 51 9: - } |
52 10: - | 52 10: - |
53 11: * #id { color: blue | 53 11: + #id { color: blue |
54 12: * } | 54 12: + } |
55 13: - | 55 13: - |
56 14: - notUsed {color: black} | 56 14: - notUsed {color: black} |
57 15: - | 57 15: - |
58 16: - notUsed2 { | 58 16: - notUsed2 { |
59 17: - color: white | 59 17: - color: white |
60 18: - } | 60 18: - } |
61 19: - | 61 19: - |
62 | 62 |
OLD | NEW |