/
xulAttributeGroups.xsd
executable file
·4737 lines (4382 loc) · 259 KB
/
xulAttributeGroups.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!--
**** BEGIN LICENSE BLOCK *****
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.
The Original Code is XUL Schema.
The Initial Developer of the Original Code is Mihailo Lalevic.
Copyright (C) 2009, Mihailo Lalevic. All Rights Reserved.
Contributor(s):
- Ondrej Donek, <ondrejd@gmail.com>
**** END LICENSE BLOCK ****
-->
<xs:schema targetNamespace="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
>
<xs:include schemaLocation="xulAttributeTypes.xsd" />
<!-- global attributes are wrapped in group since global attributes are always qualified. phew! -->
<xs:attributeGroup name="id">
<xs:attribute name="id" type="xs:ID" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:id">
A unique identifier so that you can identify the element with. You can use this as a parameter to getElementById() and other DOM functions and to reference the element in style sheets.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="container">
<xs:attribute name="container" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:container">
Set to true if the element is to act as a container which can have child elements. This would be used for folders. This will be set by the template builder as needed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="left">
<xs:attribute name="left" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:left">
For elements placed directly within a stack, specifies the pixel position of the left edge of the element relative to the left edge of the stack.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="right">
<xs:attribute name="right" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:right">
Requires Gecko 2.0!
For elements placed directly within a stack, specifies the pixel position of the right edge of the element relative to the right edge of the stack.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="position">
<xs:attribute name="position" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:position">
When an element is in an overlay, the position is an index where the child is inserted. The position is one-based, so use a value of 1 to place the element at the beginning. This attribute is ignored if either an insertbefore or insertafter attribute matches an element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="top">
<xs:attribute name="top" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:top">
For elements placed directly within a stack, specifies the pixel position of the top edge of the element relative to the top edge of the stack.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="bottom">
<xs:attribute name="bottom" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:bottom">
Requires Gecko 2.0!
For elements placed directly within a stack, specifies the pixel position of the bottom edge of the element relative to the bottom edge of the stack.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="orient">
<xs:attribute name="orient" type="orientAttributeType" use="optional"/>
</xs:attributeGroup>
<xs:attributeGroup name="uri">
<xs:attribute name="uri" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:uri">
For template-generated content, the attribute should be placed on the element where content generation should begin. Thus, it should be placed on an element that is a descendant of a template. The value should be set to rdf:*.
Elements that appear inside the element with the attribute will be repeated for each node in the RDF datasource. Elements outside will appear only once.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="dir">
<xs:attribute name="dir" type="dirAttributeType" use="optional"/>
</xs:attributeGroup>
<xs:attributeGroup name="empty">
<xs:attribute name="empty" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:empty">
Set to true if the element is a container that contains no children. This will be set by the template builder as needed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="ref">
<xs:attribute name="ref" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:ref">
For template-generated elements, this attribute is used to specify the root RDF node where content generation begins. This will correspond to the value of an about attribute on an RDF container. This attribute should be placed alongside the datasources attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="width">
<xs:attribute name="width" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:width">
The preferred width of the element. The value should not include a unit as all values are in pixels. The actual displayed width may be different if the element or its contents have a minimum or maximum width, or the size is adjusted by the flexibility or alignment of its parent. The CSS width property may also be used.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="class">
<xs:attribute name="class" type="classAttributeType" use="optional"/>
</xs:attributeGroup>
<xs:attributeGroup name="xulElementOverridenAttributes">
<xs:attributeGroup ref="bottom" />
<xs:attributeGroup ref="class" />
<xs:attributeGroup ref="container" />
<xs:attributeGroup ref="dir" />
<xs:attributeGroup ref="empty" />
<xs:attributeGroup ref="left" />
<xs:attributeGroup ref="orient" />
<xs:attributeGroup ref="position" />
<xs:attributeGroup ref="ref" />
<xs:attributeGroup ref="right" />
<xs:attributeGroup ref="top" />
<xs:attributeGroup ref="uri" />
<xs:attributeGroup ref="width" />
</xs:attributeGroup>
<xs:attributeGroup name="oncommand">
<xs:attribute name="oncommand" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/XUL/Attribute/oncommand">
This event handler is called when the command is activated. This occurs when a user selects a menu item or presses a keyboard shortcut attached to the command.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<!-- end globals -->
<xs:attributeGroup name="windowEvents">
<xs:attribute name="onload" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/En/DOM/Window.onload">
An event handler for the load event of a window.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onunload" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/En/DOM/Window.onunload">
The unload event is raised when the document is unloaded.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="formElementEvents">
<xs:attribute name="onchange" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation source="https://developer.mozilla.org/En/XUL/Attribute/Onchange">
The code in the onchange attribute is called when the value of the element is changed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onselect" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
An event handler for the select event on the control.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onblur" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation source="https://developer.mozilla.org/En/DOM/Element.onblur">
The onblur property returns the onBlur event handler code, if any, that exists on the current element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onfocus" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation source="https://developer.mozilla.org/En/DOM/Element.onfocus">
The onfocus property returns the onFocus event handler code on the current element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="xulElementAttributes">
<xs:attributeGroup ref="xulElementNonOverridenAttributes" />
<xs:attributeGroup ref="xulElementOverridenAttributes" />
</xs:attributeGroup>
<xs:attributeGroup name="xulElementNonOverridenAttributes">
<xs:attribute name="align" use="optional" type="alignAttributeType" />
<xs:attribute name="allowevents" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:allowevents">
If true, events are passed to children of the element. Otherwise, events are passed to the element only.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="allownegativeassertions" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:allownegativeassertions">
Valid on any element that has a datasources attribute. When multiple datasources are used, one may override an assertion from another. This attribute, if true, which is the default, allows a datasource to negate an earlier assertion.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="coalesceduplicatearcs" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:coalesceduplicatearcs">
Valid on any element that has a datasources attribute. When multiple datasources are used, one may override an assertion from another. This attribute, if true, which is the default, allows a datasource to negate an earlier assertion.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="collapsed" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:collapsed">
If true, then the element is collapsed and does not appear. It is equivalent to setting the CSS visibility property to collapse.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="containment" use="optional" type="containmentAttributeType" />
<xs:attribute name="context" use="optional" type="contextAttributeType" />
<xs:attribute name="contextmenu" use="optional" type="contextAttributeType">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:contextmenu">
Alternate name for the context attribute, but also has a corresponding script property contextMenu.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="datasources" use="optional" type="datasourcesAttributeType" />
<xs:attribute name="equalsize" use="optional" type="equalsizeAttributeType" />
<xs:attribute name="flags" use="optional" type="flagsArrayAttributeType" />
<xs:attribute name="flex" use="optional" type="xs:integer" default="0">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:flex">
Indicates the flexibility of the element, which indicates how an element's container distributes remaining empty space among its children. Flexible elements grow and shrink to fit their given space. Elements with larger flex values will be made larger than elements with lower flex values, at the ratio determined by the two elements. The actual value is not relevant unless there are other flexible elements within the same container. Once the default sizes of elements in a box are calculated, the remaining space in the box is divided among the flexible elements, according to their flex ratios. Specifying a flex value of 0 has the same effect as leaving the flex attribute out entirely.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="height" use="optional" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:height">
The preferred height of the element in pixels. The actual displayed height may be different if the element or its contents have a minimum or maximum height. The CSS height property may also be used.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="hidden" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:hidden">
If set to true, the element is not displayed. This is similar to setting the CSS display property to 'none'.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="id" />
<xs:attribute name="insertafter" use="optional" type="xs:IDREFS">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:insertafter">
When an element is in an overlay, the insertafter attribute specifies the id of the element in the base window that the element should appear after. This attribute overrides the insertbefore attribute. This value may be a comma-separated list of ids, which are scanned and the first one found in the window is used.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="insertbefore" use="optional" type="xs:IDREFS">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:insertbefore">
When an element is in an overlay, the insertbefore attribute specifies the id of the element in the base window that the element should appear before. This value may be a comma-separated list of ids, which are scanned and the first one found in the window is used.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxheight" use="optional" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:maxheight">
The maximum height of the element. This corresponds to the max-height CSS property.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxwidth" use="optional" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:maxwidth">
The maximum width of the element. This corresponds to the max-width CSS property.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="menu" use="optional" type="xs:IDREF">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:menu">
Alternate name for the popup attribute, but also has a corresponding script property 'menu'.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="minheight" use="optional" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:minheight">
The minimum height of the element. This corresponds to the min-height CSS property.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="minwidth" use="optional" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:minwidth">
The minimum width of the element. This corresponds to the min-width CSS property.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="mousethrough" use="optional" type="mousethroughAttributeType" />
<xs:attribute name="observes" use="optional" type="xs:IDREF">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:observes">
Set to an id of a broadcaster element that is being observed by the element. If an attribute changes in the broadcaster it is also changed in the observer.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ordinal" use="optional" type="xs:integer">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:ordinal">
An integer which specifies the position of the element within its parent. By default, elements appear in the order they appear in the XUL code. The ordinal attribute can be used to change the order. Note the default ordinal for elements is 1. You can retrieve the displayed order by using the properties of the boxObject of the container.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="pack" use="optional" type="packAttributeType" />
<xs:attribute name="persist" use="optional" type="persistAttributeType" />
<xs:attribute name="popup" use="optional" type="xs:IDREF">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:popup">
Should be set to the value of the id of the popup element that should appear when the user clicks on the element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="preference-editable" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:preference-editable">
Mozilla 1.8
If true, the element may be used as one that modifies a preference in a prefwindow. The preference attribute may be used to connect to a preference element. This is useful for custom elements implemented in XBL. The element should fire change or select events when the value is changed so that the preference will update accordingly.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="querytype" use="optional" type="querytypeAttributeType" />
<xs:attribute name="removeelement" use="optional" type="xs:IDREF">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:removeelement">
When placed on an element in an overlay, it indicates that the element in the base file should be removed from the window.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sortDirection" use="optional" type="sortDirectionAttributeType" />
<xs:attribute name="sortResource" use="optional" type="xs:anyURI">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:sortResource">
For template-generated content, this specifies the sort key, if you would like the content to be sorted. The key should be the full URI of the resource to sort by, for example 'http://home.netscape.com/NC-rdf#Name'. Place this attribute on the same element as the datasources attribute. Use sortResource2 to specify a secondary sort key.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sortResource2" use="optional" type="xs:anyURI">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:sortResource2">
A secondary key for sorted content.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="statustext" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:statustext">
Used to set the text that appears on the status bar when the user moves the mouse over the element. Mozilla doesn't adjust the status bar automatically however. This attribute serves only as a place to keep the text. In Firefox, this text is automatically placed in the statusbar for menuitems on the menu bar.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="style" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:style">
CSS style rules to be applied to the element. Syntax is as in the HTML style attribute. It is preferred to put style rules in style sheets.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="template" use="optional" type="xs:IDREF">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:template">
For template generated elements, this attribute may optionally be placed on the root node (the element with the datasources attribute) to refer to a template that exists elsewhere in the XUL code. This template attribute should be set to the id of the template element. This might be used to share a single template between multiple trees or menus. If this attribute is not specified, there should be a template element directly inside the node.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="tooltip" use="optional" type="tooltipAttributeType" />
<xs:attribute name="tooltiptext" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:tooltiptext">
Used to set the text which appears in the tooltip when the user moves the mouse over the element. This can be used instead of setting the tooltip to a popup for the common case where it contains only text. The tooltip is displayed in a default tooltip which displays only a label, however the default tooltip may be changed by setting the default attribute on a tooltip element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="wait-cursor" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:wait-cursor">
Set this attribute to true to have the cursor switch to a waiting cursor while the mouse is hovering over the element. Usually, you would only use this on the window element or other top-level elements.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="windowElementAttributes">
<xs:attributeGroup ref="xulElementAttributes" />
<xs:attribute name="accelerated" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL/Attribute/accelerated">
Requires Gecko 2.0
Set this attribute to true to allow hardware layer managers to accelerate the window.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="activetitlebarcolor" use="optional" type="color">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:activetitlebarcolor">
New in Firefox 3
Specify background color of the window's titlebar when it is active (foreground). Moreover this hides separator between titlebar and window contents. This affects only on Mac OS X.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="chromemargin" use="optional" type="xs:string">
<!-- TODO Should be "chrome margin" datatype! -->
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL/Attribute/chromemargin">
Requires Gecko 2.0
Controls the amount of chrome that should be visible on each side of the window. The specified string should contain four numbers, separated by commas, indicating the margin in pixels for the top, right, bottom, and left edges of the window, respectively. This value may be -1 to use the default margin for that side on the current platform, 0 to have no system border (that is, to extend the client area to the edge of the window), or a value greater than zero to indicate how much less than the default default width you wish the margin on that side to be. If this value turns out to be less than 0, 0 is used.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="disablechrome" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL/Attribute/disablechrome">
Requires Gecko 2.0
Set this attribute to true to disable chrome in the window. This is used to hide chrome when showing in-browser UI such as the about:addons page, and causes the toolbars to be hidden, with only the tab strip (and, if currently displayed, the add-on bar) left showing.
Note: This has no effect if the tabs on top preference is turned off.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="disablefastfind" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL/Attribute/disablefastfind">
Requires Gecko 2.0
Put disablefastfind="true" on the root element of a XUL document, which is intended to be loaded in a tab, to disable the find bar for the tab with this document. This is used to prevent the find bar from being displayed when it's not supported by the content (such as in the Add-ons manager tab).
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="drawintitlebar" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL/Attribute/drawintitlebar">
Requires Gecko 2.0
If this attribute is true, the top of the window's content area will begin at the top edge of the title bar, instead of below the title bar. This allows the window to draw in the title bar. This is supported only from window elements, and is ignored on platforms that don't support drawing into the title bar.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fullscreenbutton" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL/Attribute/fullscreenbutton">
Requires Gecko 14.0
Set this attribute to true to display a button in the window chrome to allow the user to switch the window into full screen mode. Supported on Mac OS X 10.7 Lion and later and on Windows. The window receives a "fullscreen" event once the change has been made.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="hidechrome" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:hidechrome">
Set this attribute to true to have the chrome including the titlebar hidden.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="inactivetitlebarcolor" use="optional" type="color">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:inactivetitlebarcolor">
New in Firefox 3
Specify background color of the window's titlebar when it is inactive (background). Moreover this hides separator between titlebar and window contents. This affects only on Mac OS X.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="lightweightthemes" use="optional" type="color">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL/Attribute/lightweightthemes">
Requires Gecko 1.9.2
true if the window supports lightweight themes, otherwise false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="lightweightthemesfooter" use="optional" type="xs:IDREF">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL/Attribute/lightweightthemesfooter">
Requires Gecko 1.9.2
Specifies the ID of an element to which a lightweight theme's footer image will be applied.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onload" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>This event is sent to the window after it has been fully loaded. You should place this event handler on the window element. This event may also be used on the image element, or an element that accepts an image attribute, and will be fired when the image has finished loading. For images, this event does not bubble up the element tree, so it will not conflict with the window's load event.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="onunload" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>This event is sent to a window when the window has closed. This is done after the close event. You should place this event handler on the window element.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="screenX" use="optional" type="xs:integer">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:screenX">
The horizontal position at which the window appears on the screen.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="screenY" use="optional" type="xs:integer">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:screenY">
The vertical position at which the window appears on the screen.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sizemode" use="optional" type="sizemodeAttributeType" />
<xs:attribute name="title" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:title">
The text to appear in the title bar of the window.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="windowtype" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:windowtype">
Set to a string which can be used to identify the type of window. This might be used, for example, to distinguish between a browser window and an editor window. Some of Mozilla's window handling functions use this attribute to group windows of the same type together.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="dialogElementAttributes">
<xs:attributeGroup ref="xulElementAttributes" />
<xs:attribute name="activetitlebarcolor" use="optional" type="color">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:activetitlebarcolor">
New in Firefox 3
Specify background color of the window's titlebar when it is active (foreground). Moreover this hides separator between titlebar and window contents. This affects only on Mac OS X.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonaccesskeyaccept" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonaccesskeyaccept">
The access key to use for the "accept" button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonaccesskeycancel" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonaccesskeycancel">
The access key to use for the "cancel" button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonaccesskeydisclosure" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonaccesskeydisclosure">
The access key to use for the "disclosure" button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonaccesskeyextra1" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonaccesskeyextra1">
The access key to use for the first extra button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonaccesskeyextra2" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonaccesskeyextra2">
The access key to use for the second extra button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonaccesskeyhelp" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonaccesskeyhelp">
The access key to use for the "help" button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonalign" use="optional" type="alignAttributeType">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonalign">
The value of the align attribute for the box containing the buttons.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttondir" use="optional" type="dirAttributeType">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttondir">
The value of the dir attribute for the box containing the buttons.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttondisabledaccept" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttondisabledaccept">
If true, the accept button is disabled.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonlabelaccept" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonlabelaccept">
The label to appear on the "accept" button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonlabelcancel" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonlabelcancel">
The label to appear on the "cancel" button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonlabeldisclosure" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonlabeldisclosure">
The label to appear on the "disclosure" button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonlabelextra1" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonlabelextra1">
The label to appear on the first extra button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonlabelextra2" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonlabelextra2">
The label to appear on the second extra button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonlabelhelp" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonlabelhelp">
The label to appear on the "help" button.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonorient" use="optional" type="orientAttributeType">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonorient">
The value of the orient attribute for the box containing the buttons.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttonpack" use="optional" type="packAttributeType">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttonpack">
The value of the pack attribute for the box containing the buttons.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buttons" use="optional" type="dialogButtonsAttributeType">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:buttons">
A comma-separated list of buttons to appear in the dialog box. The buttons will be placed in suitable locations for the user's platform and basic event handling will be performed automatically. The following values can be used in the list:
* accept: The OK button, which will accept the changes when pressed. This button will also be the default button.
* cancel: The cancel button which will cancel the operation.
* help: A help button for displaying help about the dialog.
* disclosure: A button to show more information. This might be a button or a disclosure triangle.
* extra1: An optional additional button. You can set its label with the buttonlabelextra1 attribute.
* extra2: A second optional additional button. You can set its label with the buttonlabelextra2 attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="defaultButton" use="optional" type="dialogDefaultButtonAttributeType">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:defaultButton">
Normally this attribute should not be set, but if it is, it specifies the default button in the dialog. Typically, this means that the button will be activated when the Enter key is pressed. This should be set to one of the same values as those for the buttons attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="inactivetitlebarcolor" use="optional" type="color">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:inactivetitlebarcolor">
New in Firefox 3
Specify background color of the window's titlebar when it is inactive (background). Moreover this hides separator between titlebar and window contents. This affects only on Mac OS X.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ondialogaccept" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:ondialogaccept">
The code in this attribute is called when the accept button is pressed, or when the acceptDialog method is called. If the handler returns true, the dialog will indeed go away, but if it returns false it will not.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ondialogcancel" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:ondialogcancel">
The code in this attribute is called when the "cancel" button is pressed or when the cancelDialog method is called. If the routine returns true, the dialog will indeed go away, but if it returns false it will not.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ondialogdisclosure" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:ondialogdisclosure">
The code in this attribute is called when the "disclosure" button is pressed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ondialogextra1" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:ondialogextra1">
The code in this attribute is called when the first extra button is pressed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ondialogextra2" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:ondialogextra2">
The code in this attribute is called when the second extra button is pressed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ondialoghelp" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:ondialoghelp">
The code in this attribute is called when the "help" button is pressed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="title" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:title">
The text to appear in the title bar of the window.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="menubarElementAttributes">
<xs:attributeGroup ref="xulElementAttributes" />
<xs:attribute name="grippyhidden" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:grippyhidden">
Not Supported in Firefox!
When set to true, the grippy will be hidden. When set to false, the default, the grippy will be shown.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="statusbar" use="optional" type="xs:IDREF">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:statusbar">
If you set this attribute to the id of a statusbar element, the label on the statusbar will update to the statustext of the items on the menu as the user moves the mouse over them.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="menuElementAttributes">
<xs:attributeGroup ref="xulElementAttributes" />
<xs:attribute name="acceltext" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:acceltext">
Text that appears beside beside the menu label to indicate the shortcut key (accelerator key) to use to invoke the command. If this value is set, it overrides an assigned key set in the key attribute. This attribute does not apply to menus directly on the menubar.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="accesskey" use="optional" type="character">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:accesskey">
This should be set to a letter that is used as a shortcut key. This letter should be one of the characters that appears in the label text for the element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="crop" use="optional" type="cropAttributeType" />
<xs:attribute name="disabled" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:disabled">
Indicates whether the element is disabled or not. If this element is set to true the element is disabled. Disabled elements are usually drawn with grayed-out text. If the element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="label" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:label">
The label that will appear on the element. If this is left out, no text appears.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="menuactive" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:menuactive">
This attribute is set on an item in a menu when it is being hovered over. Typcially, the theme will use this to highlight the item. A DOMMenuItemActive event will be sent to the item when the item is hovered over, and a DOMMenuItemInactive event will be sent to the item when the selection moves away.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="open" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:open">
For the menu type buttons, the open attribute is set to true when the menu is open. The open attribute is not present if the menu is closed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:value">
The string attribute allows you to associate a data value with an element. It is not used for any specific purpose, but you can access it with a script for your own use.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="menulistElementAttributes">
<xs:attributeGroup ref="xulElementAttributes" />
<xs:attribute name="accesskey" use="optional" type="character">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:accesskey">
This should be set to a letter that is used as a shortcut key. This letter should be one of the characters that appears in the label text for the element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="crop" use="optional" type="cropAttributeType" />
<xs:attribute name="disableautoselect" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:disableautoselect">
If this attribute is true or omitted, the selected item on the menu will update to match what the user entered in the textbox. If the text does not match any of the items in the list, the menu selection is cleared. If this attribute is false, the selection is never updated to match the text box. This attribute applies only to editable menulists.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="disabled" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:disabled">
Indicates whether the element is disabled or not. If this element is set to true the element is disabled. Disabled elements are usually drawn with grayed-out text. If the element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="editable" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:editable">
Indicates that the value of the menulist can be modified by typing directly into the value field. This is rendered as a textbox with a drop-down arrow beside it. The user may enter text into the textbox or select one of the choices by clicking from the drop-down.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="focused" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:focused">
This attribute is true if the element is focused.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="image" use="optional" type="chromeOrRegularUrl">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:image">
The URL of the image to appear on the element. If this attribute is empty or left out, no image appears. The position of the image is determined by the dir and orient attributes.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="label" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:label">
The label that will appear on the element. If this is left out, no text appears.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="oncommand" />
<xs:attribute name="open" use="optional" type="xs:boolean">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:open">
For the menu type buttons, the open attribute is set to true when the menu is open. The open attribute is not present if the menu is closed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="preference" use="optional" type="xs:IDREF">
<xs:annotation>
<xs:documentation source="http://developer.mozilla.org/en/docs/XUL:Attribute:preference">
Connects the element to a corresponding preference. This attribute only has any effect when used inside a prefwindow. The value of the preference will be updated to match the value property of the element.
</xs:documentation>