svillar@igalia.com | 2c0e277 | 2014-04-08 12:05:33 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <style type="text/css"> |
| 5 | #firstColumnFloat { |
| 6 | width: 50%; |
| 7 | background-color: blue; |
| 8 | } |
| 9 | |
| 10 | #secondColumnFloat { |
| 11 | float: right; |
| 12 | width: 50%; |
| 13 | background-color: lime; |
| 14 | } |
| 15 | |
| 16 | #oneColumnRegular { |
| 17 | background-color: blue; |
| 18 | } |
| 19 | </style> |
| 20 | <script> |
| 21 | function runTest() { |
| 22 | if (window.testRunner) { |
svillar@igalia.com | 2c0e277 | 2014-04-08 12:05:33 +0000 | [diff] [blame] | 23 | window.resizeTo(600, 600); |
| 24 | } |
| 25 | } |
| 26 | </script> |
| 27 | </head> |
| 28 | <body onLoad="runTest();"> |
| 29 | <h1>Description</h1> |
| 30 | <p>Grid flex and content sized columns width should be updated properly when you resize the window (you should not see the grid background in grey color).</p> |
| 31 | <h1>Grid 2 flex columns</h1> |
| 32 | <div> |
| 33 | <div id="secondColumnFloat">second column</div> |
| 34 | <div id="firstColumnFloat">first column</div> |
| 35 | </div> |
| 36 | <h1>Grid 1 auto column</h1> |
| 37 | <div> |
| 38 | <div id="oneColumnRegular"> |
| 39 | one column one column one column one column one column one column one column one column |
| 40 | one column one column one column one column one column one column one column one column |
| 41 | one column one column one column one column one column one column one column one column |
| 42 | one column one column one column one column one column one column one column one column |
| 43 | </div> |
| 44 | </div> |
| 45 | </body> |
| 46 | </html> |
| 47 | |