| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD//XHTML 1.0 Strict//EN" "http://www.w3.org/TR
/xhtml1/DTD/xhtml1-strict.dtd"> | |
| 2 <!-- | |
| 3 Internet Explorer Test Pages Copyright © 2012 Microsoft Corporation. All rights
reserved. | |
| 4 | |
| 5 Redistribution and use in source and binary forms, with or without modification
, | |
| 6 are permitted provided that the following conditions are met: | |
| 7 | |
| 8 Redistributions of source code must retain the above copyright notice, this lis
t of | |
| 9 conditions and the following disclaimer. | |
| 10 | |
| 11 Redistributions in binary form must reproduce the above copyright notice, this
list of | |
| 12 conditions and the following disclaimer in the documentation and/or other mater
ials | |
| 13 provided with the distribution. | |
| 14 | |
| 15 Neither the name of the Microsoft Corporation nor the names of its contributors
may be | |
| 16 used to endorse or promote products derived from this software without specific
prior | |
| 17 written permission. | |
| 18 | |
| 19 THIS SOFTWARE IS PROVIDED BY MICROSOFT CORPORATION "AS IS" AND ANY EXPRESS OR I
MPLIED | |
| 20 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTAB
ILITY AND | |
| 21 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MICROSOFT CO
RPORATION | |
| 22 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUE
NTIAL | |
| 23 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERV
ICES; | |
| 24 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY | |
| 25 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGE
NCE OR | |
| 26 OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE | |
| 27 POSSIBILITY OF SUCH DAMAGE. | |
| 28 --> | |
| 29 <html xmlns="http://www.w3.org/1999/xhtml"> | |
| 30 <head> | |
| 31 <title>CSS Test: Column filling</title> | |
| 32 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> | |
| 33 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#filling-colum
ns"/> | |
| 34 <meta name="flags" content="" /> | |
| 35 <meta name="assert" content="Columns are filled sequentially."/> | |
| 36 <style type="text/css"> | |
| 37 #parent | |
| 38 { | |
| 39 font: 20px/1 monospace; | |
| 40 position: relative; | |
| 41 } | |
| 42 #multicolumn | |
| 43 { | |
| 44 color: red; | |
| 45 -moz-column-count: 2; | |
| 46 -moz-column-width: 5em; | |
| 47 -moz-column-gap: 1em; | |
| 48 | |
| 49 -o-column-count: 2; | |
| 50 -o-column-width: 5em; | |
| 51 -o-column-gap: 1em; | |
| 52 | |
| 53 -webkit-column-count: 2; | |
| 54 -webkit-column-width: 5em; | |
| 55 -webkit-column-gap: 1em; | |
| 56 | |
| 57 column-count: 2; | |
| 58 column-width: 5em; | |
| 59 column-gap: 1em; | |
| 60 } | |
| 61 #multicolumn, #reference | |
| 62 { | |
| 63 height: 6em; | |
| 64 width: 11em; | |
| 65 } | |
| 66 #reference | |
| 67 { | |
| 68 color: green; | |
| 69 position: absolute; | |
| 70 top: 0; | |
| 71 } | |
| 72 #reference div | |
| 73 { | |
| 74 position: absolute; | |
| 75 width: 5em; | |
| 76 } | |
| 77 #right | |
| 78 { | |
| 79 right: 0; | |
| 80 } | |
| 81 </style> | |
| 82 </head> | |
| 83 <body> | |
| 84 <p>Test passes if there is no red visible on the page.</p> | |
| 85 <div id="parent"> | |
| 86 <div id="multicolumn"> | |
| 87 AAAAAAAAA BBBBBBBBB CCCCCCCCC DDDDDDDDD EEEEEEEEE FFFFFFFFF GGGG
GGGGG HHHHHHHHH IIIIIIIII JJJJJJJJJ KKKKKKKKK LLLLLLLLL | |
| 88 </div> | |
| 89 <div id="reference"> | |
| 90 <div>AAAAAAAAA BBBBBBBBB CCCCCCCCC DDDDDDDDD EEEEEEEEE FFFFFFFFF
</div> | |
| 91 <div id="right">GGGGGGGGG HHHHHHHHH IIIIIIIII JJJJJJJJJ KKKKKKKK
K LLLLLLLLL</div> | |
| 92 </div> | |
| 93 </div> | |
| 94 </body> | |
| 95 </html> | |
| OLD | NEW |