gecko-dev/layout/reftests/bugs/371043-1.html

14 строки
411 B
HTML

<!DOCTYPE html>
<body>
<div id="source" style="font-size: 10px; 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")).columnGap;
</script>
</div>
</body>