Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <body> |
michael@0 | 3 | <div id="source" style="font-size: 10px; -moz-column-gap: 2ch"> |
michael@0 | 4 | <span id="test" |
michael@0 | 5 | style="background: green; display: inline-block; height: 30px; |
michael@0 | 6 | padding: 0 2px"> |
michael@0 | 7 | </span> |
michael@0 | 8 | <script> |
michael@0 | 9 | document.getElementById("test").style.width = |
michael@0 | 10 | document.defaultView.getComputedStyle(document.getElementById("source"), |
michael@0 | 11 | "").MozColumnGap; |
michael@0 | 12 | </script> |
michael@0 | 13 | </div> |
michael@0 | 14 | </body> |