multicol-width-negative-001

negative column-width

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem, invalid
Assertion
This test checks that a set 'column-width' can not be negative.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3  <head>
 4   <title>CSS Multi-column Layout Test: negative column-width</title>
 5   <link rel="author" title="Opera Software ASA" href="http://www.opera.com/">
 6   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2013-08-24 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#cw" title="3.1. 'column-width'">
 8   <link rel="match" href="reference/multicol-count-002-ref.htm">
 9   <meta name="flags" content="ahem invalid">
10   <meta name="assert" content="This test checks that a set 'column-width' can not be negative.">
11   <style type="text/css">
12   div
13   {
14   background-color: black;
15   border: black solid 1em;
16   color: yellow;
17   font: 1.25em/1 Ahem;
18   orphans: 1;
19   widows: 1;
20   width: 19em;
21 
22   column-width: -100px;
23   column-gap: 0;
24   }
25   </style>
26  </head>
27  <body>
28   <div>4444 4444 4444 4444 1&nbsp;&nbsp;1 1&nbsp;&nbsp;1 1&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;1 1&nbsp;&nbsp;1 1&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; 4444 4444 4444 4444 1&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;1 1&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;1 1&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;1 4444 4444</div>
29  </body>
30 </html>