OLD | NEW |
1 <style> | 1 <style> |
2 div.test { | 2 div.test { |
3 width: 100px; | 3 width: 100px; |
4 height: 100px; | 4 height: 100px; |
5 -webkit-column-width: 100px; | 5 -webkit-column-width: 100px; |
6 -webkit-column-gap: 0; | 6 -webkit-column-gap: 0; |
| 7 -webkit-column-fill: auto; |
| 8 column-width: 100px; |
| 9 column-gap: 0; |
| 10 column-fill: auto; |
7 overflow: hidden; | 11 overflow: hidden; |
8 } | 12 } |
9 | 13 |
10 div.test > div { | 14 div.test > div { |
11 -webkit-logical-height: 100%; | 15 -webkit-logical-height: 100%; |
12 } | 16 } |
13 | 17 |
14 div.test > div:first-child { | 18 div.test > div:first-child { |
15 background-color: red; | 19 background-color: red; |
16 } | 20 } |
(...skipping 27 matching lines...) Expand all Loading... |
44 if (test.scrollLeft) | 48 if (test.scrollLeft) |
45 test.scrollLeft = 0; | 49 test.scrollLeft = 0; |
46 else | 50 else |
47 test.scrollLeft = test.scrollWidth; | 51 test.scrollLeft = test.scrollWidth; |
48 if (test.scrollTop) | 52 if (test.scrollTop) |
49 test.scrollTop = 0; | 53 test.scrollTop = 0; |
50 else | 54 else |
51 test.scrollTop = test.scrollHeight; | 55 test.scrollTop = test.scrollHeight; |
52 } | 56 } |
53 </script> | 57 </script> |
OLD | NEW |