mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
15 lines
469 B
HTML
15 lines
469 B
HTML
<!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>
|