| <!DOCTYPE html> |
| <style> |
| .multicol { |
| background-color: #eee; |
| width: 600px; |
| } |
| p, div { |
| margin-top: 1em; |
| margin-bottom: 1em; |
| } |
| .large { |
| font-size: 30px; |
| } |
| .secondColumn { |
| margin-left: 150px; |
| } |
| </style> |
| <p> |
| This test checks if CSS3 multi-column layout properly works |
| when the multi-column block contains only one line of text. |
| </p> |
| <p> |
| Test successful if the following text is readable |
| (i.e. not split into two different columns). |
| </p> |
| <p class="multicol"> |
| Short text. |
| </p> |
| <p class="multicol"> |
| <span class="large">Bigger text.</span> |
| </p> |
| <p class="multicol"> |
| Partially <span class="large">big</span> text. |
| </p> |
| <div class="multicol"> |
| <p class="secondColumn"> Nested block.</p> |
| </div> |
| <div> |
| <p class="multicol"> Nested block #2.</p> |
| </div> |