OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .cleared-container { | 5 .cleared-container { |
6 font: 30px/1 Ahem; | 6 font: 30px/1 Ahem; |
7 clear: both; | 7 clear: both; |
8 list-style: none; | 8 list-style: none; |
9 padding: 0; | 9 padding: 0; |
10 margin: 1em 0 0; | 10 margin: 1em 0 0; |
(...skipping 13 matching lines...) Expand all Loading... |
24 <li class="floated-child" data-offset-y="30px">same line.</li> | 24 <li class="floated-child" data-offset-y="30px">same line.</li> |
25 </ul> | 25 </ul> |
26 <p> https://bugs.webkit.org/show_bug.cgi?id=109476 : only the first floated
child of a self-collapsing block needs to account | 26 <p> https://bugs.webkit.org/show_bug.cgi?id=109476 : only the first floated
child of a self-collapsing block needs to account |
27 for its collapsed margin. </p> | 27 for its collapsed margin. </p> |
28 <script> | 28 <script> |
29 checkLayout('.floated-child'); | 29 checkLayout('.floated-child'); |
30 </script> | 30 </script> |
31 </body> | 31 </body> |
32 </html> | 32 </html> |
33 | 33 |
OLD | NEW |