summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/multicol/column-width-zero.html
blob: 2ce42f9ffd32d218d0d1ec1d18aead307e33cebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<style>
#multicolumn
{
    display: block;
    -moz-column-width: 0;
    -o-column-width: 0;
    -webkit-column-width: 0;
    column-width: 0;
}
</style>
<script src="../../resources/js-test.js"></script>
<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
</head>
<body>
<div id="multicolumn"></div>
</body>
<script>
description("Test for column-width property with zero value");
var divElement = document.getElementById("multicolumn");
shouldBe('getComputedStyle(divElement).webkitColumnWidth', '"auto"');
</script>
</html>