servo/tests/wpt/css-tests/css-multicol-1_dev/html4/multicol-rule-percent-001.htm

33 lines
No EOL
1.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Multi-column Layout Test: column-rule-width and percentage unit (basic)</title>
<link rel="author" title="Opera Software ASA" href="http://www.opera.com/">
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2013-08-14 -->
<link rel="help" href="http://www.w3.org/TR/css3-multicol/#crw" title="4.4. 'column-rule-width'">
<link rel="match" href="reference/multicol-containing-002-ref.htm">
<meta name="flags" content="ahem invalid">
<meta name="assert" content="This test checks that the column-rule-width property does not accept percentage unit in its values.">
<style type="text/css">
div
{
color: green;
font: 1.25em/1 Ahem;
width: 19em;
column-count: 4;
column-gap: 1em;
column-rule-color: red;
column-rule-style: solid;
column-rule-width: 0;
column-rule-width: 200%;
}
</style>
</head>
<body>
<div>4444 1&nbsp;&nbsp;1 1&nbsp;&nbsp;1 4444 1&nbsp;&nbsp; 1&nbsp;&nbsp; 1&nbsp;&nbsp; 4444 1&nbsp;&nbsp;1 1&nbsp;&nbsp;1 4444 1&nbsp;&nbsp;1 1&nbsp;&nbsp;1 1&nbsp;&nbsp;1 4444 1&nbsp;&nbsp; 1&nbsp;&nbsp; 4444 &nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;1 4444 4444 1&nbsp;&nbsp; 1&nbsp;&nbsp; 4444 &nbsp;&nbsp;&nbsp;1 &nbsp;&nbsp;&nbsp;1 4444</div>
</body>
</html>