Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 <?xml version="1.0"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
9 <!DOCTYPE window>
12 <window orient="vertical" style="border: 2px solid green"
13 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
15 <script>
16 function start()
17 {
18 var row = document.getElementById("row");
19 var text = document.createElement("text");
20 text.setAttribute("value", "foo");
21 row.appendChild(text);
22 }
24 </script>
26 <hbox>
27 <grid style="border: 2px solid red;" id="grid">
28 <columns>
29 </columns>
31 <rows>
32 <row id="row">
33 <button label="value"/>
34 </row>
35 </rows>
36 </grid>
37 <spacer flex="1" style="background-color: white"/>
38 </hbox>
40 <button label="insert" oncommand="start()"/>
42 </window>