OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <link href="resources/flexbox.css" rel="stylesheet"> | 2 <link href="resources/flexbox.css" rel="stylesheet"> |
3 <style> | 3 <style> |
4 .horizontal { | 4 .horizontal { |
5 height: 50px; | 5 height: 50px; |
6 background-color: purple; | 6 background-color: purple; |
7 position: relative; | 7 position: relative; |
8 } | 8 } |
9 .vertical { | 9 .vertical { |
10 width: 50px; | 10 width: 50px; |
(...skipping 27 matching lines...) Expand all Loading... |
38 <div data-expected-height="50" class="flex-one"> | 38 <div data-expected-height="50" class="flex-one"> |
39 <div id="dynamicHorizontalChild" data-expected-height="45" style="height: 70
%; background-color: lime"></div> | 39 <div id="dynamicHorizontalChild" data-expected-height="45" style="height: 70
%; background-color: lime"></div> |
40 </div> | 40 </div> |
41 </div> | 41 </div> |
42 <div class="flexbox horizontal"> | 42 <div class="flexbox horizontal"> |
43 <div data-expected-height="50" class="flex-one" style="padding: 10px; border:
2px solid black"> | 43 <div data-expected-height="50" class="flex-one" style="padding: 10px; border:
2px solid black"> |
44 <div data-expected-height="18" style="height: 70%; background-color: lime"><
/div> | 44 <div data-expected-height="18" style="height: 70%; background-color: lime"><
/div> |
45 </div> | 45 </div> |
46 </div> | 46 </div> |
47 <div class="flexbox horizontal"> | 47 <div class="flexbox horizontal"> |
48 <img data-expected-height="25" style="max-height: 50%" src="../images/resource
s/green-10.png" /> | 48 <img data-expected-height="25" style="max-height: 50%" src="../../images/resou
rces/green-10.png" /> |
49 </div> | 49 </div> |
50 <div class="flexbox horizontal"> | 50 <div class="flexbox horizontal"> |
51 <div data-expected-height="25" class="flex-one" style="max-height:50%"> | 51 <div data-expected-height="25" class="flex-one" style="max-height:50%"> |
52 <div data-expected-height="13" style="height: 50%; background-color: lime"><
/div> | 52 <div data-expected-height="13" style="height: 50%; background-color: lime"><
/div> |
53 </div> | 53 </div> |
54 </div> | 54 </div> |
55 <div class="flexbox vertical"> | 55 <div class="flexbox vertical"> |
56 <div data-expected-width="50" class="flex-one"> | 56 <div data-expected-width="50" class="flex-one"> |
57 <div data-expected-width="25" style="width: 50%; background-color: lime"></d
iv> | 57 <div data-expected-width="25" style="width: 50%; background-color: lime"></d
iv> |
58 </div> | 58 </div> |
59 </div> | 59 </div> |
60 <div class="flexbox vertical"> | 60 <div class="flexbox vertical"> |
61 <div data-expected-width="50" class="flex-one"> | 61 <div data-expected-width="50" class="flex-one"> |
62 <div id="dynamicVerticalChild" data-expected-width="15" style="width: 50%; b
ackground-color: lime"></div> | 62 <div id="dynamicVerticalChild" data-expected-width="15" style="width: 50%; b
ackground-color: lime"></div> |
63 </div> | 63 </div> |
64 </div> | 64 </div> |
65 <div class="flexbox vertical"> | 65 <div class="flexbox vertical"> |
66 <div data-expected-width="50" class="flex-one" style="padding: 10px; border: 2
px solid black"> | 66 <div data-expected-width="50" class="flex-one" style="padding: 10px; border: 2
px solid black"> |
67 <div data-expected-width="13" style="width: 50%; background-color: lime"></d
iv> | 67 <div data-expected-width="13" style="width: 50%; background-color: lime"></d
iv> |
68 </div> | 68 </div> |
69 </div> | 69 </div> |
70 <div class="flexbox vertical"> | 70 <div class="flexbox vertical"> |
71 <img data-expected-width="25" style="max-width: 50%" src="../images/resources/
green-10.png" /> | 71 <img data-expected-width="25" style="max-width: 50%" src="../../images/resourc
es/green-10.png" /> |
72 </div> | 72 </div> |
73 <div class="flexbox vertical"> | 73 <div class="flexbox vertical"> |
74 <div data-expected-width="25" class="flex-one" style="max-width: 50%"> | 74 <div data-expected-width="25" class="flex-one" style="max-width: 50%"> |
75 <div data-expected-width="13" style="width: 50%; background-color: lime"></d
iv> | 75 <div data-expected-width="13" style="width: 50%; background-color: lime"></d
iv> |
76 </div> | 76 </div> |
77 </div> | 77 </div> |
78 </body> | 78 </body> |
OLD | NEW |