Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 8 | |
michael@0 | 9 | <!DOCTYPE window> |
michael@0 | 10 | |
michael@0 | 11 | |
michael@0 | 12 | <window orient="vertical" style="border: 2px solid green" |
michael@0 | 13 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
michael@0 | 14 | |
michael@0 | 15 | <script> |
michael@0 | 16 | function start() |
michael@0 | 17 | { |
michael@0 | 18 | var row = document.getElementById("row"); |
michael@0 | 19 | var text = document.createElement("text"); |
michael@0 | 20 | text.setAttribute("value", "foo"); |
michael@0 | 21 | row.appendChild(text); |
michael@0 | 22 | } |
michael@0 | 23 | |
michael@0 | 24 | </script> |
michael@0 | 25 | |
michael@0 | 26 | <hbox> |
michael@0 | 27 | <grid style="border: 2px solid red;" id="grid"> |
michael@0 | 28 | <columns> |
michael@0 | 29 | </columns> |
michael@0 | 30 | |
michael@0 | 31 | <rows> |
michael@0 | 32 | <row id="row"> |
michael@0 | 33 | <button label="value"/> |
michael@0 | 34 | </row> |
michael@0 | 35 | </rows> |
michael@0 | 36 | </grid> |
michael@0 | 37 | <spacer flex="1" style="background-color: white"/> |
michael@0 | 38 | </hbox> |
michael@0 | 39 | |
michael@0 | 40 | <button label="insert" oncommand="start()"/> |
michael@0 | 41 | |
michael@0 | 42 | </window> |