Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <window xmlns:html="http://www.w3.org/1999/xhtml" |
michael@0 | 3 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 4 | onload="loaded()"> |
michael@0 | 5 | <hbox flex="1"> |
michael@0 | 6 | <html:style> |
michael@0 | 7 | /* Make sure our splitter's background doesn't depend on its hover styles */ |
michael@0 | 8 | splitter { |
michael@0 | 9 | background-color: yellow; |
michael@0 | 10 | -moz-appearance: none; |
michael@0 | 11 | } |
michael@0 | 12 | </html:style> |
michael@0 | 13 | <script> |
michael@0 | 14 | function loaded() { |
michael@0 | 15 | document.documentElement.getBoundingClientRect(); |
michael@0 | 16 | document.getElementById("s").setAttribute("state", "collapsed"); |
michael@0 | 17 | } |
michael@0 | 18 | </script> |
michael@0 | 19 | <iframe width="200" src="data:text/html,hello"/> |
michael@0 | 20 | <splitter collapse="before" resizeafter="farthest" width="200" id="s"> |
michael@0 | 21 | </splitter> |
michael@0 | 22 | </hbox> |
michael@0 | 23 | </window> |