1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 *
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
9 *
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
13 * License.
14 *
15 * The Original Code is mozilla.org code.
16 *
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 2000
20 * the Initial Developer. All Rights Reserved.
21 *
22 * Contributor(s):
23 * Vidur Apparao <vidur@netscape.com> (original author)
24 * Johnny Stenback <jst@netscape.com>
25 *
26 * Alternatively, the contents of this file may be used under the terms of
27 * either of the GNU General Public License Version 2 or later (the "GPL"),
28 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the MPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the MPL, the GPL or the LGPL.
37 *
38 * ***** END LICENSE BLOCK ***** */
39
40 #include "domstubs.idl"
41
42 [scriptable, uuid(529b987a-cb21-4d58-99d7-9586e7662801)]
43 interface nsIDOMCSS2Properties : nsISupports
44 {
45 attribute DOMString azimuth;
46 // raises(DOMException) on setting
47
48 attribute DOMString background;
49 // raises(DOMException) on setting
50
51 attribute DOMString backgroundAttachment;
52 // raises(DOMException) on setting
53
54 attribute DOMString backgroundColor;
55 // raises(DOMException) on setting
56
57 attribute DOMString backgroundImage;
58 // raises(DOMException) on setting
59
60 attribute DOMString backgroundPosition;
61 // raises(DOMException) on setting
62
63 attribute DOMString backgroundRepeat;
64 // raises(DOMException) on setting
65
66 attribute DOMString border;
67 // raises(DOMException) on setting
68
69 attribute DOMString borderCollapse;
70 // raises(DOMException) on setting
71
72 attribute DOMString borderColor;
73 // raises(DOMException) on setting
74
75 attribute DOMString borderSpacing;
76 // raises(DOMException) on setting
77
78 attribute DOMString borderStyle;
79 // raises(DOMException) on setting
80
81 attribute DOMString borderTop;
82 // raises(DOMException) on setting
83
84 attribute DOMString borderRight;
85 // raises(DOMException) on setting
86
87 attribute DOMString borderBottom;
88 // raises(DOMException) on setting
89
90 attribute DOMString borderLeft;
91 // raises(DOMException) on setting
92
93 attribute DOMString borderTopColor;
94 // raises(DOMException) on setting
95
96 attribute DOMString borderRightColor;
97 // raises(DOMException) on setting
98
99 attribute DOMString borderBottomColor;
100 // raises(DOMException) on setting
101
102 attribute DOMString borderLeftColor;
103 // raises(DOMException) on setting
104
105 attribute DOMString borderTopStyle;
106 // raises(DOMException) on setting
107
108 attribute DOMString borderRightStyle;
109 // raises(DOMException) on setting
110
111 attribute DOMString borderBottomStyle;
112 // raises(DOMException) on setting
113
114 attribute DOMString borderLeftStyle;
115 // raises(DOMException) on setting
116
117 attribute DOMString borderTopWidth;
118 // raises(DOMException) on setting
119
120 attribute DOMString borderRightWidth;
121 // raises(DOMException) on setting
122
123 attribute DOMString borderBottomWidth;
124 // raises(DOMException) on setting
125
126 attribute DOMString borderLeftWidth;
127 // raises(DOMException) on setting
128
129 attribute DOMString borderWidth;
130 // raises(DOMException) on setting
131
132 attribute DOMString bottom;
133 // raises(DOMException) on setting
134
135 attribute DOMString captionSide;
136 // raises(DOMException) on setting
137
138 attribute DOMString clear;
139 // raises(DOMException) on setting
140
141 attribute DOMString clip;
142 // raises(DOMException) on setting
143
144 attribute DOMString color;
145 // raises(DOMException) on setting
146
147 attribute DOMString content;
148 // raises(DOMException) on setting
149
150 attribute DOMString counterIncrement;
151 // raises(DOMException) on setting
152
153 attribute DOMString counterReset;
154 // raises(DOMException) on setting
155
156 attribute DOMString cue;
157 // raises(DOMException) on setting
158
159 attribute DOMString cueAfter;
160 // raises(DOMException) on setting
161
162 attribute DOMString cueBefore;
163 // raises(DOMException) on setting
164
165 attribute DOMString cursor;
166 // raises(DOMException) on setting
167
168 attribute DOMString direction;
169 // raises(DOMException) on setting
170
171 attribute DOMString display;
172 // raises(DOMException) on setting
173
174 attribute DOMString elevation;
175 // raises(DOMException) on setting
176
177 attribute DOMString emptyCells;
178 // raises(DOMException) on setting
179
180 attribute DOMString cssFloat;
181 // raises(DOMException) on setting
182
183 attribute DOMString font;
184 // raises(DOMException) on setting
185
186 attribute DOMString fontFamily;
187 // raises(DOMException) on setting
188
189 attribute DOMString fontSize;
190 // raises(DOMException) on setting
191
192 attribute DOMString fontSizeAdjust;
193 // raises(DOMException) on setting
194
195 attribute DOMString fontStretch;
196 // raises(DOMException) on setting
197
198 attribute DOMString fontStyle;
199 // raises(DOMException) on setting
200
201 attribute DOMString fontVariant;
202 // raises(DOMException) on setting
203
204 attribute DOMString fontWeight;
205 // raises(DOMException) on setting
206
207 attribute DOMString height;
208 // raises(DOMException) on setting
209
210 attribute DOMString left;
211 // raises(DOMException) on setting
212
213 attribute DOMString letterSpacing;
214 // raises(DOMException) on setting
215
216 attribute DOMString lineHeight;
217 // raises(DOMException) on setting
218
219 attribute DOMString listStyle;
220 // raises(DOMException) on setting
221
222 attribute DOMString listStyleImage;
223 // raises(DOMException) on setting
224
225 attribute DOMString listStylePosition;
226 // raises(DOMException) on setting
227
228 attribute DOMString listStyleType;
229 // raises(DOMException) on setting
230
231 attribute DOMString margin;
232 // raises(DOMException) on setting
233
234 attribute DOMString marginTop;
235 // raises(DOMException) on setting
236
237 attribute DOMString marginRight;
238 // raises(DOMException) on setting
239
240 attribute DOMString marginBottom;
241 // raises(DOMException) on setting
242
243 attribute DOMString marginLeft;
244 // raises(DOMException) on setting
245
246 attribute DOMString markerOffset;
247 // raises(DOMException) on setting
248
249 attribute DOMString marks;
250 // raises(DOMException) on setting
251
252 attribute DOMString maxHeight;
253 // raises(DOMException) on setting
254
255 attribute DOMString maxWidth;
256 // raises(DOMException) on setting
257
258 attribute DOMString minHeight;
259 // raises(DOMException) on setting
260
261 attribute DOMString minWidth;
262 // raises(DOMException) on setting
263
264 attribute DOMString orphans;
265 // raises(DOMException) on setting
266
267 attribute DOMString outline;
268 // raises(DOMException) on setting
269
270 attribute DOMString outlineColor;
271 // raises(DOMException) on setting
272
273 attribute DOMString outlineStyle;
274 // raises(DOMException) on setting
275
276 attribute DOMString outlineWidth;
277 // raises(DOMException) on setting
278
279 attribute DOMString overflow;
280 // raises(DOMException) on setting
281
282 attribute DOMString padding;
283 // raises(DOMException) on setting
284
285 attribute DOMString paddingTop;
286 // raises(DOMException) on setting
287
288 attribute DOMString paddingRight;
289 // raises(DOMException) on setting
290
291 attribute DOMString paddingBottom;
292 // raises(DOMException) on setting
293
294 attribute DOMString paddingLeft;
295 // raises(DOMException) on setting
296
297 attribute DOMString page;
298 // raises(DOMException) on setting
299
300 attribute DOMString pageBreakAfter;
301 // raises(DOMException) on setting
302
303 attribute DOMString pageBreakBefore;
304 // raises(DOMException) on setting
305
306 attribute DOMString pageBreakInside;
307 // raises(DOMException) on setting
308
309 attribute DOMString pause;
310 // raises(DOMException) on setting
311
312 attribute DOMString pauseAfter;
313 // raises(DOMException) on setting
314
315 attribute DOMString pauseBefore;
316 // raises(DOMException) on setting
317
318 attribute DOMString pitch;
319 // raises(DOMException) on setting
320
321 attribute DOMString pitchRange;
322 // raises(DOMException) on setting
323
324 attribute DOMString position;
325 // raises(DOMException) on setting
326
327 attribute DOMString quotes;
328 // raises(DOMException) on setting
329
330 attribute DOMString richness;
331 // raises(DOMException) on setting
332
333 attribute DOMString right;
334 // raises(DOMException) on setting
335
336 attribute DOMString size;
337 // raises(DOMException) on setting
338
339 attribute DOMString speak;
340 // raises(DOMException) on setting
341
342 attribute DOMString speakHeader;
343 // raises(DOMException) on setting
344
345 attribute DOMString speakNumeral;
346 // raises(DOMException) on setting
347
348 attribute DOMString speakPunctuation;
349 // raises(DOMException) on setting
350
351 attribute DOMString speechRate;
352 // raises(DOMException) on setting
353
354 attribute DOMString stress;
355 // raises(DOMException) on setting
356
357 attribute DOMString tableLayout;
358 // raises(DOMException) on setting
359
360 attribute DOMString textAlign;
361 // raises(DOMException) on setting
362
363 attribute DOMString textDecoration;
364 // raises(DOMException) on setting
365
366 attribute DOMString textIndent;
367 // raises(DOMException) on setting
368
369 attribute DOMString textShadow;
370 // raises(DOMException) on setting
371
372 attribute DOMString textTransform;
373 // raises(DOMException) on setting
374
375 attribute DOMString top;
376 // raises(DOMException) on setting
377
378 attribute DOMString unicodeBidi;
379 // raises(DOMException) on setting
380
381 attribute DOMString verticalAlign;
382 // raises(DOMException) on setting
383
384 attribute DOMString visibility;
385 // raises(DOMException) on setting
386
387 attribute DOMString voiceFamily;
388 // raises(DOMException) on setting
389
390 attribute DOMString volume;
391 // raises(DOMException) on setting
392
393 attribute DOMString whiteSpace;
394 // raises(DOMException) on setting
395
396 attribute DOMString widows;
397 // raises(DOMException) on setting
398
399 attribute DOMString width;
400 // raises(DOMException) on setting
401
402 attribute DOMString wordSpacing;
403 // raises(DOMException) on setting
404
405 attribute DOMString zIndex;
406 // raises(DOMException) on setting
407 };
408
409 [scriptable, uuid(c9339b8c-9bdd-4d2a-a61a-55ca609b92bd)]
410 interface nsIDOMNSCSS2Properties : nsIDOMCSS2Properties
411 {
412 /* Non-DOM 2 extensions */
413
414 /* Mozilla extension CSS properties */
415 attribute DOMString MozAppearance;
416 // raises(DOMException) on setting
417
418 attribute DOMString MozBackgroundClip;
419 // raises(DOMException) on setting
420
421 attribute DOMString MozBackgroundInlinePolicy;
422 // raises(DOMException) on setting
423
424 attribute DOMString MozBackgroundOrigin;
425 // raises(DOMException) on setting
426
427 attribute DOMString MozBinding;
428 // raises(DOMException) on setting
429
430 attribute DOMString MozBorderBottomColors;
431 // raises(DOMException) on setting
432
433 attribute DOMString MozBorderLeftColors;
434 // raises(DOMException) on setting
435
436 attribute DOMString MozBorderRightColors;
437 // raises(DOMException) on setting
438
439 attribute DOMString MozBorderTopColors;
440 // raises(DOMException) on setting
441
442 attribute DOMString MozBorderRadius;
443 // raises(DOMException) on setting
444
445 attribute DOMString MozBorderRadiusTopleft;
446 // raises(DOMException) on setting
447
448 attribute DOMString MozBorderRadiusTopright;
449 // raises(DOMException) on setting
450
451 attribute DOMString MozBorderRadiusBottomleft;
452 // raises(DOMException) on setting
453
454 attribute DOMString MozBorderRadiusBottomright;
455 // raises(DOMException) on setting
456
457 attribute DOMString MozBoxAlign;
458 // raises(DOMException) on setting
459
460 attribute DOMString MozBoxDirection;
461 // raises(DOMException) on setting
462
463 attribute DOMString MozBoxFlex;
464 // raises(DOMException) on setting
465
466 attribute DOMString MozBoxOrient;
467 // raises(DOMException) on setting
468
469 attribute DOMString MozBoxOrdinalGroup;
470 // raises(DOMException) on setting
471
472 attribute DOMString MozBoxPack;
473 // raises(DOMException) on setting
474
475 attribute DOMString MozBoxSizing;
476 // raises(DOMException) on setting
477
478 attribute DOMString MozColumnCount;
479 // raises(DOMException) on setting
480
481 attribute DOMString MozColumnWidth;
482 // raises(DOMException) on setting
483
484 attribute DOMString MozColumnGap;
485 // raises(DOMException) on setting
486
487 attribute DOMString MozFloatEdge;
488 // raises(DOMException) on setting
489
490 attribute DOMString MozForceBrokenImageIcon;
491 // raises(DOMException) on setting
492
493 attribute DOMString MozImageRegion;
494 // raises(DOMException) on setting
495
496 attribute DOMString MozMarginEnd;
497 // raises(DOMException) on setting
498
499 attribute DOMString MozMarginStart;
500 // raises(DOMException) on setting
501
502 attribute DOMString MozOpacity;
503 // raises(DOMException) on setting
504
505 attribute DOMString MozOutline;
506 // raises(DOMException) on setting
507
508 attribute DOMString MozOutlineColor;
509 // raises(DOMException) on setting
510
511 attribute DOMString MozOutlineRadius;
512 // raises(DOMException) on setting
513
514 attribute DOMString MozOutlineRadiusTopleft;
515 // raises(DOMException) on setting
516
517 attribute DOMString MozOutlineRadiusTopright;
518 // raises(DOMException) on setting
519
520 attribute DOMString MozOutlineRadiusBottomleft;
521 // raises(DOMException) on setting
522
523 attribute DOMString MozOutlineRadiusBottomright;
524 // raises(DOMException) on setting
525
526 attribute DOMString MozOutlineStyle;
527 // raises(DOMException) on setting
528
529 attribute DOMString MozOutlineWidth;
530 // raises(DOMException) on setting
531
532 attribute DOMString MozOutlineOffset;
533 // raises(DOMException) on setting
534
535 attribute DOMString MozPaddingEnd;
536 // raises(DOMException) on setting
537
538 attribute DOMString MozPaddingStart;
539 // raises(DOMException) on setting
540
541 attribute DOMString MozUserFocus;
542 // raises(DOMException) on setting
543
544 attribute DOMString MozUserInput;
545 // raises(DOMException) on setting
546
547 attribute DOMString MozUserModify;
548 // raises(DOMException) on setting
549
550 attribute DOMString MozUserSelect;
551 // raises(DOMException) on setting
552
553 /* CSS3 properties */
554 attribute DOMString opacity;
555 // raises(DOMException) on setting
556
557 attribute DOMString outlineOffset;
558 // raises(DOMException) on setting
559
560 /* Mozilla extensions */
561 attribute DOMString overflowX;
562 // raises(DOMException) on setting
563
564 attribute DOMString overflowY;
565 // raises(DOMException) on setting
566
567 attribute DOMString imeMode;
568 // raises(DOMException) on setting
569
570 attribute DOMString MozBorderEnd;
571 // raises(DOMException) on setting
572
573 attribute DOMString MozBorderEndColor;
574 // raises(DOMException) on setting
575
576 attribute DOMString MozBorderEndStyle;
577 // raises(DOMException) on setting
578
579 attribute DOMString MozBorderEndWidth;
580 // raises(DOMException) on setting
581
582 attribute DOMString MozBorderStart;
583 // raises(DOMException) on setting
584
585 attribute DOMString MozBorderStartColor;
586 // raises(DOMException) on setting
587
588 attribute DOMString MozBorderStartStyle;
589 // raises(DOMException) on setting
590
591 attribute DOMString MozBorderStartWidth;
592 // raises(DOMException) on setting
593
594 };