Changeset 164609 in webkit for trunk/LayoutTests/fast/css-grid-layout/flex-and-minmax-content-resolution-rows.html
- Timestamp:
- Feb 24, 2014, 2:29:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/fast/css-grid-layout/flex-and-minmax-content-resolution-rows.html
r163625 r164609 55 55 <!-- Allow the extra logical space distribution to occur. --> 56 56 <div style="width: 10px; height: 40px"> 57 <div class="grid gridMaxMaxContent" style="height: 100%"> 58 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="10">XXXXX</div> 59 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="30"></div> 60 </div> 61 </div> 62 63 <div style="width: 10px; height: 40px"> 57 64 <div class="grid gridMaxMaxContent"> 58 65 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="10">XXXXX</div> 59 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="30"></div> 66 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="10"></div> 67 </div> 68 </div> 69 70 <div style="width: 10px; height: 110px;"> 71 <div class="grid gridMaxMaxContent" style="height: 100%"> 72 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="10">XXXXX</div> 73 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="100"></div> 60 74 </div> 61 75 </div> … … 64 78 <div class="grid gridMaxMaxContent"> 65 79 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="10">XXXXX</div> 66 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="100"></div> 67 </div> 68 </div> 69 80 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="10"></div> 81 </div> 82 </div> 83 84 <div class="constrainedContainer"> 85 <div class="grid gridMinMinContent" style="height: 100%"> 86 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="10">XXXXX XXXX</div> 87 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="20">XXXXX XXXX</div> 88 </div> 89 </div> 70 90 71 91 <div class="constrainedContainer"> 72 92 <div class="grid gridMinMinContent"> 73 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height=" 10">XXXXX XXXX</div>74 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height=" 20">XXXXX XXXX</div>93 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="30">XXXXX XXXX</div> 94 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="50">XXXXX XXXX</div> 75 95 </div> 76 96 </div> … … 78 98 <!-- Allow the extra logical space distribution to occur. --> 79 99 <div style="width: 10px; height: 40px"> 80 <div class="grid gridMinMinContent" >100 <div class="grid gridMinMinContent" style="height: 100%"> 81 101 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="10">XXXXX XXXX</div> 82 102 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="30">XXXXX XXXX</div> … … 84 104 </div> 85 105 86 <div style="width: 10px; height: 110px;">106 <div style="width: 10px; height: 40px"> 87 107 <div class="grid gridMinMinContent"> 108 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="30">XXXXX XXXX</div> 109 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="50">XXXXX XXXX</div> 110 </div> 111 </div> 112 113 <div style="width: 10px; height: 110px;"> 114 <div class="grid gridMinMinContent" style="height: 100%"> 88 115 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="60">XXXXX XXXX</div> 89 116 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="50">XXXXX XXXX</div> … … 91 118 </div> 92 119 120 <div style="width: 10px; height: 110px;"> 121 <div class="grid gridMinMinContent"> 122 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="30">XXXXX XXXX</div> 123 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="50">XXXXX XXXX</div> 124 </div> 125 </div> 126 127 <div style="width: 10px; height: 60px;"> 128 <div class="grid gridWithIntrinsicSizeBiggerThanFlex" style="height: 100%"> 129 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="40">XXXXX XXXXX XXXXX XXXXX</div> 130 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="20"></div> 131 </div> 132 </div> 93 133 94 134 <div style="width: 10px; height: 60px;"> 95 135 <div class="grid gridWithIntrinsicSizeBiggerThanFlex"> 96 136 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="40">XXXXX XXXXX XXXXX XXXXX</div> 97 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="20"></div> 98 </div> 99 </div> 100 101 102 <div style="width: 10px; height: 60px;"> 103 <div class="grid gridShrinkBelowItemsIntrinsicSize"> 137 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="160"></div> 138 </div> 139 </div> 140 141 <div style="width: 10px; height: 60px;"> 142 <div class="grid gridShrinkBelowItemsIntrinsicSize" style="height: 100%"> 104 143 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="20">XXXXX XXXXX XXXXX XXXXX XXXXX</div> 105 144 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="40">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> … … 107 146 </div> 108 147 148 <div style="width: 10px; height: 60px;"> 149 <div class="grid gridShrinkBelowItemsIntrinsicSize"> 150 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="50">XXXXX XXXXX XXXXX XXXXX XXXXX</div> 151 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="100">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> 152 </div> 153 </div> 109 154 110 155 <!-- No space available for the <flex> --> 111 156 <div style="width: 10px; height: 100px;"> 157 <div class="grid gridWithNonFlexingItems" style="height: 100%"> 158 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="40"></div> 159 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="40">XXXXX XXXXX XXXXX XXXXX</div> 160 <div class="sizedToGridArea thirdRowFirstColumn" data-expected-width="50" data-expected-height="60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> 161 <div class="sizedToGridArea fourthRowFirstColumn" data-expected-width="50" data-expected-height="20"></div> 162 </div> 163 </div> 164 165 <div style="width: 10px; height: 100px;"> 112 166 <div class="grid gridWithNonFlexingItems"> 113 167 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="40"></div> 114 168 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="40">XXXXX XXXXX XXXXX XXXXX</div> 115 169 <div class="sizedToGridArea thirdRowFirstColumn" data-expected-width="50" data-expected-height="60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> 116 <div class="sizedToGridArea fourthRowFirstColumn" data-expected-width="50" data-expected-height=" 20"></div>170 <div class="sizedToGridArea fourthRowFirstColumn" data-expected-width="50" data-expected-height="80"></div> 117 171 </div> 118 172 </div> … … 120 174 <!-- The second track should be sized after the min-content as the <flex> value should be too small. --> 121 175 <div style="width: 10px; height: 180px;"> 176 <div class="grid gridWithNonFlexingItems" style="height: 100%"> 177 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="40"></div> 178 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="40">XXXXX XXXXX XXXXX XXXXX</div> 179 <div class="sizedToGridArea thirdRowFirstColumn" data-expected-width="50" data-expected-height="60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> 180 <div class="sizedToGridArea fourthRowFirstColumn" data-expected-width="50" data-expected-height="40"></div> 181 </div> 182 </div> 183 184 <div style="width: 10px; height: 180px;"> 122 185 <div class="grid gridWithNonFlexingItems"> 123 186 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="40"></div> 124 187 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="40">XXXXX XXXXX XXXXX XXXXX</div> 125 188 <div class="sizedToGridArea thirdRowFirstColumn" data-expected-width="50" data-expected-height="60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> 126 <div class="sizedToGridArea fourthRowFirstColumn" data-expected-width="50" data-expected-height="40"></div> 189 <div class="sizedToGridArea fourthRowFirstColumn" data-expected-width="50" data-expected-height="80"></div> 190 </div> 191 </div> 192 193 <div style="width: 10px; height: 400px;"> 194 <div class="grid gridWithNonFlexingItems" style="height: 100%"> 195 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="40"></div> 196 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="100">XXXXX XXXXX XXXXX XXXXX</div> 197 <div class="sizedToGridArea thirdRowFirstColumn" data-expected-width="50" data-expected-height="60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> 198 <div class="sizedToGridArea fourthRowFirstColumn" data-expected-width="50" data-expected-height="200"></div> 127 199 </div> 128 200 </div> … … 131 203 <div class="grid gridWithNonFlexingItems"> 132 204 <div class="sizedToGridArea firstRowFirstColumn" data-expected-width="50" data-expected-height="40"></div> 133 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height=" 100">XXXXX XXXXX XXXXX XXXXX</div>134 <div class="sizedToGridArea thirdRowFirstColumn" data-expected-width="50" data-expected-height="60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> 135 <div class="sizedToGridArea fourthRowFirstColumn" data-expected-width="50" data-expected-height=" 200"></div>205 <div class="sizedToGridArea secondRowFirstColumn" data-expected-width="50" data-expected-height="40">XXXXX XXXXX XXXXX XXXXX</div> 206 <div class="sizedToGridArea thirdRowFirstColumn" data-expected-width="50" data-expected-height="60">XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX</div> 207 <div class="sizedToGridArea fourthRowFirstColumn" data-expected-width="50" data-expected-height="80"></div> 136 208 </div> 137 209 </div>
Note:
See TracChangeset
for help on using the changeset viewer.