summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/371043-1.html
blob: 735e7d52746c8d080134ac1f472347e8f5364416 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<body>
  <div id="source" style="font-size: 10px; -moz-column-gap: 2ch">
    <span id="test"
          style="background: green; display: inline-block; height: 30px;
                 padding: 0 2px">
    </span>
    <script>
      document.getElementById("test").style.width =
        document.defaultView.getComputedStyle(document.getElementById("source"),
                                              "").MozColumnGap;
    </script>
  </div>
</body>