| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <title>CSS Snap Size: snap-width</title> | 2 <title>CSS Snap Size: snap-width</title> |
| 3 <link rel="help" href="https://drafts.csswg.org/css-snap-size/#snap-width"> | 3 <link rel="help" href="https://drafts.csswg.org/css-snap-size/#snap-width"> |
| 4 <link rel="match" href="reference/snap-width--001.html"> | 4 <link rel="match" href="reference/snap-width--001.html"> |
| 5 <meta name="assert" content="This test asserts the snap-width property rounds do
wn the box width."> | 5 <meta name="assert" content="This test asserts the snap-width property rounds do
wn the box width."> |
| 6 <meta name="flags" content="ahem"> | 6 <meta name="flags" content="ahem"> |
| 7 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com"> | 7 <link rel="author" title="Koji Ishii" href="kojiishi@gmail.com"> |
| 8 <style> | 8 <style> |
| 9 .container { | 9 .container { |
| 10 font-family: Ahem; | 10 font-family: Ahem; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 text-align: right; | 30 text-align: right; |
| 31 } | 31 } |
| 32 table { border-spacing: 0; } | 32 table { border-spacing: 0; } |
| 33 td { padding: 0; } | 33 td { padding: 0; } |
| 34 .ref { | 34 .ref { |
| 35 white-space: pre; /* make sure the line does not wrap */ | 35 white-space: pre; /* make sure the line does not wrap */ |
| 36 width: 20em; | 36 width: 20em; |
| 37 } | 37 } |
| 38 </style> | 38 </style> |
| 39 <body> | 39 <body> |
| 40 <p class="instructions" style="display:none">Test passes if each pair of boxes a
re the same, | 40 <p class="instructions">Test passes if each pair of boxes are the same, |
| 41 including how they look, widths, and horizontal positions. | 41 including how they look, widths, and horizontal positions. |
| 42 | 42 |
| 43 <div class="container"> | 43 <div class="container"> |
| 44 <div class="test"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></
table></div> | 44 <div class="test"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></
table></div> |
| 45 <div class="ref"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></t
able></div> | 45 <div class="ref"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></t
able></div> |
| 46 </div> | 46 </div> |
| 47 | 47 |
| 48 <div class="border container"> | 48 <div class="border container"> |
| 49 <div class="test"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></
table></div> | 49 <div class="test"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></
table></div> |
| 50 <div class="ref"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></t
able></div> | 50 <div class="ref"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></t
able></div> |
| 51 </div> | 51 </div> |
| 52 | 52 |
| 53 <div class="padding container"> | 53 <div class="padding container"> |
| 54 <div class="test"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></
table></div> | 54 <div class="test"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></
table></div> |
| 55 <div class="ref"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></t
able></div> | 55 <div class="ref"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></t
able></div> |
| 56 </div> | 56 </div> |
| 57 | 57 |
| 58 <div class="border padding container"> | 58 <div class="border padding container"> |
| 59 <div class="test"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></
table></div> | 59 <div class="test"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></
table></div> |
| 60 <div class="ref"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></t
able></div> | 60 <div class="ref"><table width="100%"><tr><td>XXXXXXXXXX XXXXXXXXX</td></tr></t
able></div> |
| 61 </div> | 61 </div> |
| 62 </body> | 62 </body> |
| OLD | NEW |