• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 James G. Speth (speth@end.com)
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright
10 *    notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 *    notice, this list of conditions and the following disclaimer in the
13 *    documentation and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
16 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
19 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28#import "config.h"
29
30#import "CSSRule.h"
31#import "CSSValue.h"
32#import "DOMCSSCharsetRule.h"
33#import "DOMCSSFontFaceRule.h"
34#import "DOMCSSImportRule.h"
35#import "DOMCSSMediaRule.h"
36#import "DOMCSSPageRule.h"
37#import "DOMCSSPrimitiveValue.h"
38#import "DOMCSSRuleInternal.h"
39#import "DOMCSSStyleDeclaration.h"
40#import "DOMCSSStyleRule.h"
41#import "DOMCSSStyleSheet.h"
42#import "DOMCSSUnknownRule.h"
43#import "DOMCSSValueInternal.h"
44#import "DOMCSSValueList.h"
45#import "DOMCSSVariablesRule.h"
46#import "DOMInternal.h"
47#import "DOMStyleSheetInternal.h"
48#import "DOMWebKitCSSKeyframeRule.h"
49#import "DOMWebKitCSSKeyframesRule.h"
50#import "DOMWebKitCSSTransformValue.h"
51
52#if ENABLE(SVG_DOM_OBJC_BINDINGS)
53#import "DOMSVGPaint.h"
54#endif
55
56//------------------------------------------------------------------------------------------
57// DOMStyleSheet
58
59Class kitClass(WebCore::StyleSheet* impl)
60{
61    if (impl->isCSSStyleSheet())
62        return [DOMCSSStyleSheet class];
63    return [DOMStyleSheet class];
64}
65
66//------------------------------------------------------------------------------------------
67// DOMCSSRule
68
69Class kitClass(WebCore::CSSRule* impl)
70{
71    switch (impl->type()) {
72        case DOM_UNKNOWN_RULE:
73            return [DOMCSSUnknownRule class];
74        case DOM_STYLE_RULE:
75            return [DOMCSSStyleRule class];
76        case DOM_CHARSET_RULE:
77            return [DOMCSSCharsetRule class];
78        case DOM_IMPORT_RULE:
79            return [DOMCSSImportRule class];
80        case DOM_MEDIA_RULE:
81            return [DOMCSSMediaRule class];
82        case DOM_FONT_FACE_RULE:
83            return [DOMCSSFontFaceRule class];
84        case DOM_PAGE_RULE:
85            return [DOMCSSPageRule class];
86        case DOM_VARIABLES_RULE:
87            return [DOMCSSVariablesRule class];
88        case DOM_WEBKIT_KEYFRAMES_RULE:
89            return [DOMWebKitCSSKeyframesRule class];
90        case DOM_WEBKIT_KEYFRAME_RULE:
91            return [DOMWebKitCSSKeyframeRule class];
92    }
93    ASSERT_NOT_REACHED();
94    return nil;
95}
96
97//------------------------------------------------------------------------------------------
98// DOMCSSValue
99
100Class kitClass(WebCore::CSSValue* impl)
101{
102    switch (impl->cssValueType()) {
103        case WebCore::CSSValue::CSS_PRIMITIVE_VALUE:
104            return [DOMCSSPrimitiveValue class];
105        case WebCore::CSSValue::CSS_VALUE_LIST:
106            if (impl->isWebKitCSSTransformValue())
107                return [DOMWebKitCSSTransformValue class];
108            return [DOMCSSValueList class];
109        case WebCore::CSSValue::CSS_INHERIT:
110        case WebCore::CSSValue::CSS_INITIAL:
111            return [DOMCSSValue class];
112        case WebCore::CSSValue::CSS_CUSTOM:
113#if ENABLE(SVG_DOM_OBJC_BINDINGS)
114            if (impl->isSVGPaint())
115                return [DOMSVGPaint class];
116            if (impl->isSVGColor())
117                return [DOMSVGColor class];
118#endif
119            return [DOMCSSValue class];
120    }
121    ASSERT_NOT_REACHED();
122    return nil;
123}
124
125//------------------------------------------------------------------------------------------
126// DOMCSSStyleDeclaration CSS2 Properties
127
128@implementation DOMCSSStyleDeclaration (DOMCSS2Properties)
129
130- (NSString *)azimuth
131{
132    return [self getPropertyValue:@"azimuth"];
133}
134
135- (void)setAzimuth:(NSString *)azimuth
136{
137    [self setProperty:@"azimuth" value:azimuth priority:@""];
138}
139
140- (NSString *)background
141{
142    return [self getPropertyValue:@"background"];
143}
144
145- (void)setBackground:(NSString *)background
146{
147    [self setProperty:@"background" value:background priority:@""];
148}
149
150- (NSString *)backgroundAttachment
151{
152    return [self getPropertyValue:@"background-attachment"];
153}
154
155- (void)setBackgroundAttachment:(NSString *)backgroundAttachment
156{
157    [self setProperty:@"background-attachment" value:backgroundAttachment priority:@""];
158}
159
160- (NSString *)backgroundColor
161{
162    return [self getPropertyValue:@"background-color"];
163}
164
165- (void)setBackgroundColor:(NSString *)backgroundColor
166{
167    [self setProperty:@"background-color" value:backgroundColor priority:@""];
168}
169
170- (NSString *)backgroundImage
171{
172    return [self getPropertyValue:@"background-image"];
173}
174
175- (void)setBackgroundImage:(NSString *)backgroundImage
176{
177    [self setProperty:@"background-image" value:backgroundImage priority:@""];
178}
179
180- (NSString *)backgroundPosition
181{
182    return [self getPropertyValue:@"background-position"];
183}
184
185- (void)setBackgroundPosition:(NSString *)backgroundPosition
186{
187    [self setProperty:@"background-position" value:backgroundPosition priority:@""];
188}
189
190- (NSString *)backgroundRepeat
191{
192    return [self getPropertyValue:@"background-repeat"];
193}
194
195- (void)setBackgroundRepeat:(NSString *)backgroundRepeat
196{
197    [self setProperty:@"background-repeat" value:backgroundRepeat priority:@""];
198}
199
200- (NSString *)border
201{
202    return [self getPropertyValue:@"border"];
203}
204
205- (void)setBorder:(NSString *)border
206{
207    [self setProperty:@"border" value:border priority:@""];
208}
209
210- (NSString *)borderCollapse
211{
212    return [self getPropertyValue:@"border-collapse"];
213}
214
215- (void)setBorderCollapse:(NSString *)borderCollapse
216{
217    [self setProperty:@"border-collapse" value:borderCollapse priority:@""];
218}
219
220- (NSString *)borderColor
221{
222    return [self getPropertyValue:@"border-color"];
223}
224
225- (void)setBorderColor:(NSString *)borderColor
226{
227    [self setProperty:@"border-color" value:borderColor priority:@""];
228}
229
230- (NSString *)borderSpacing
231{
232    return [self getPropertyValue:@"border-spacing"];
233}
234
235- (void)setBorderSpacing:(NSString *)borderSpacing
236{
237    [self setProperty:@"border-spacing" value:borderSpacing priority:@""];
238}
239
240- (NSString *)borderStyle
241{
242    return [self getPropertyValue:@"border-style"];
243}
244
245- (void)setBorderStyle:(NSString *)borderStyle
246{
247    [self setProperty:@"border-style" value:borderStyle priority:@""];
248}
249
250- (NSString *)borderTop
251{
252    return [self getPropertyValue:@"border-top"];
253}
254
255- (void)setBorderTop:(NSString *)borderTop
256{
257    [self setProperty:@"border-top" value:borderTop priority:@""];
258}
259
260- (NSString *)borderRight
261{
262    return [self getPropertyValue:@"border-right"];
263}
264
265- (void)setBorderRight:(NSString *)borderRight
266{
267    [self setProperty:@"border-right" value:borderRight priority:@""];
268}
269
270- (NSString *)borderBottom
271{
272    return [self getPropertyValue:@"border-bottom"];
273}
274
275- (void)setBorderBottom:(NSString *)borderBottom
276{
277    [self setProperty:@"border-bottom" value:borderBottom priority:@""];
278}
279
280- (NSString *)borderLeft
281{
282    return [self getPropertyValue:@"border-left"];
283}
284
285- (void)setBorderLeft:(NSString *)borderLeft
286{
287    [self setProperty:@"border-left" value:borderLeft priority:@""];
288}
289
290- (NSString *)borderTopColor
291{
292    return [self getPropertyValue:@"border-top-color"];
293}
294
295- (void)setBorderTopColor:(NSString *)borderTopColor
296{
297    [self setProperty:@"border-top-color" value:borderTopColor priority:@""];
298}
299
300- (NSString *)borderRightColor
301{
302    return [self getPropertyValue:@"border-right-color"];
303}
304
305- (void)setBorderRightColor:(NSString *)borderRightColor
306{
307    [self setProperty:@"border-right-color" value:borderRightColor priority:@""];
308}
309
310- (NSString *)borderBottomColor
311{
312    return [self getPropertyValue:@"border-bottom-color"];
313}
314
315- (void)setBorderBottomColor:(NSString *)borderBottomColor
316{
317    [self setProperty:@"border-bottom-color" value:borderBottomColor priority:@""];
318}
319
320- (NSString *)borderLeftColor
321{
322    return [self getPropertyValue:@"border-left-color"];
323}
324
325- (void)setBorderLeftColor:(NSString *)borderLeftColor
326{
327    [self setProperty:@"border-left-color" value:borderLeftColor priority:@""];
328}
329
330- (NSString *)borderTopStyle
331{
332    return [self getPropertyValue:@"border-top-style"];
333}
334
335- (void)setBorderTopStyle:(NSString *)borderTopStyle
336{
337    [self setProperty:@"border-top-style" value:borderTopStyle priority:@""];
338}
339
340- (NSString *)borderRightStyle
341{
342    return [self getPropertyValue:@"border-right-style"];
343}
344
345- (void)setBorderRightStyle:(NSString *)borderRightStyle
346{
347    [self setProperty:@"border-right-style" value:borderRightStyle priority:@""];
348}
349
350- (NSString *)borderBottomStyle
351{
352    return [self getPropertyValue:@"border-bottom-style"];
353}
354
355- (void)setBorderBottomStyle:(NSString *)borderBottomStyle
356{
357    [self setProperty:@"border-bottom-style" value:borderBottomStyle priority:@""];
358}
359
360- (NSString *)borderLeftStyle
361{
362    return [self getPropertyValue:@"border-left-style"];
363}
364
365- (void)setBorderLeftStyle:(NSString *)borderLeftStyle
366{
367    [self setProperty:@"border-left-style" value:borderLeftStyle priority:@""];
368}
369
370- (NSString *)borderTopWidth
371{
372    return [self getPropertyValue:@"border-top-width"];
373}
374
375- (void)setBorderTopWidth:(NSString *)borderTopWidth
376{
377    [self setProperty:@"border-top-width" value:borderTopWidth priority:@""];
378}
379
380- (NSString *)borderRightWidth
381{
382    return [self getPropertyValue:@"border-right-width"];
383}
384
385- (void)setBorderRightWidth:(NSString *)borderRightWidth
386{
387    [self setProperty:@"border-right-width" value:borderRightWidth priority:@""];
388}
389
390- (NSString *)borderBottomWidth
391{
392    return [self getPropertyValue:@"border-bottom-width"];
393}
394
395- (void)setBorderBottomWidth:(NSString *)borderBottomWidth
396{
397    [self setProperty:@"border-bottom-width" value:borderBottomWidth priority:@""];
398}
399
400- (NSString *)borderLeftWidth
401{
402    return [self getPropertyValue:@"border-left-width"];
403}
404
405- (void)setBorderLeftWidth:(NSString *)borderLeftWidth
406{
407    [self setProperty:@"border-left-width" value:borderLeftWidth priority:@""];
408}
409
410- (NSString *)borderWidth
411{
412    return [self getPropertyValue:@"border-width"];
413}
414
415- (void)setBorderWidth:(NSString *)borderWidth
416{
417    [self setProperty:@"border-width" value:borderWidth priority:@""];
418}
419
420- (NSString *)bottom
421{
422    return [self getPropertyValue:@"bottom"];
423}
424
425- (void)setBottom:(NSString *)bottom
426{
427    [self setProperty:@"bottom" value:bottom priority:@""];
428}
429
430- (NSString *)captionSide
431{
432    return [self getPropertyValue:@"caption-side"];
433}
434
435- (void)setCaptionSide:(NSString *)captionSide
436{
437    [self setProperty:@"caption-side" value:captionSide priority:@""];
438}
439
440- (NSString *)clear
441{
442    return [self getPropertyValue:@"clear"];
443}
444
445- (void)setClear:(NSString *)clear
446{
447    [self setProperty:@"clear" value:clear priority:@""];
448}
449
450- (NSString *)clip
451{
452    return [self getPropertyValue:@"clip"];
453}
454
455- (void)setClip:(NSString *)clip
456{
457    [self setProperty:@"clip" value:clip priority:@""];
458}
459
460- (NSString *)color
461{
462    return [self getPropertyValue:@"color"];
463}
464
465- (void)setColor:(NSString *)color
466{
467    [self setProperty:@"color" value:color priority:@""];
468}
469
470- (NSString *)content
471{
472    return [self getPropertyValue:@"content"];
473}
474
475- (void)setContent:(NSString *)content
476{
477    [self setProperty:@"content" value:content priority:@""];
478}
479
480- (NSString *)counterIncrement
481{
482    return [self getPropertyValue:@"counter-increment"];
483}
484
485- (void)setCounterIncrement:(NSString *)counterIncrement
486{
487    [self setProperty:@"counter-increment" value:counterIncrement priority:@""];
488}
489
490- (NSString *)counterReset
491{
492    return [self getPropertyValue:@"counter-reset"];
493}
494
495- (void)setCounterReset:(NSString *)counterReset
496{
497    [self setProperty:@"counter-reset" value:counterReset priority:@""];
498}
499
500- (NSString *)cue
501{
502    return [self getPropertyValue:@"cue"];
503}
504
505- (void)setCue:(NSString *)cue
506{
507    [self setProperty:@"cue" value:cue priority:@""];
508}
509
510- (NSString *)cueAfter
511{
512    return [self getPropertyValue:@"cue-after"];
513}
514
515- (void)setCueAfter:(NSString *)cueAfter
516{
517    [self setProperty:@"cue-after" value:cueAfter priority:@""];
518}
519
520- (NSString *)cueBefore
521{
522    return [self getPropertyValue:@"cue-before"];
523}
524
525- (void)setCueBefore:(NSString *)cueBefore
526{
527    [self setProperty:@"cue-before" value:cueBefore priority:@""];
528}
529
530- (NSString *)cursor
531{
532    return [self getPropertyValue:@"cursor"];
533}
534
535- (void)setCursor:(NSString *)cursor
536{
537    [self setProperty:@"cursor" value:cursor priority:@""];
538}
539
540- (NSString *)direction
541{
542    return [self getPropertyValue:@"direction"];
543}
544
545- (void)setDirection:(NSString *)direction
546{
547    [self setProperty:@"direction" value:direction priority:@""];
548}
549
550- (NSString *)display
551{
552    return [self getPropertyValue:@"display"];
553}
554
555- (void)setDisplay:(NSString *)display
556{
557    [self setProperty:@"display" value:display priority:@""];
558}
559
560- (NSString *)elevation
561{
562    return [self getPropertyValue:@"elevation"];
563}
564
565- (void)setElevation:(NSString *)elevation
566{
567    [self setProperty:@"elevation" value:elevation priority:@""];
568}
569
570- (NSString *)emptyCells
571{
572    return [self getPropertyValue:@"empty-cells"];
573}
574
575- (void)setEmptyCells:(NSString *)emptyCells
576{
577    [self setProperty:@"empty-cells" value:emptyCells priority:@""];
578}
579
580- (NSString *)cssFloat
581{
582    return [self getPropertyValue:@"css-float"];
583}
584
585- (void)setCssFloat:(NSString *)cssFloat
586{
587    [self setProperty:@"css-float" value:cssFloat priority:@""];
588}
589
590- (NSString *)font
591{
592    return [self getPropertyValue:@"font"];
593}
594
595- (void)setFont:(NSString *)font
596{
597    [self setProperty:@"font" value:font priority:@""];
598}
599
600- (NSString *)fontFamily
601{
602    return [self getPropertyValue:@"font-family"];
603}
604
605- (void)setFontFamily:(NSString *)fontFamily
606{
607    [self setProperty:@"font-family" value:fontFamily priority:@""];
608}
609
610- (NSString *)fontSize
611{
612    return [self getPropertyValue:@"font-size"];
613}
614
615- (void)setFontSize:(NSString *)fontSize
616{
617    [self setProperty:@"font-size" value:fontSize priority:@""];
618}
619
620- (NSString *)fontSizeAdjust
621{
622    return [self getPropertyValue:@"font-size-adjust"];
623}
624
625- (void)setFontSizeAdjust:(NSString *)fontSizeAdjust
626{
627    [self setProperty:@"font-size-adjust" value:fontSizeAdjust priority:@""];
628}
629
630- (NSString *)_fontSizeDelta
631{
632    return [self getPropertyValue:@"-webkit-font-size-delta"];
633}
634
635- (void)_setFontSizeDelta:(NSString *)fontSizeDelta
636{
637    [self setProperty:@"-webkit-font-size-delta" value:fontSizeDelta priority:@""];
638}
639
640- (NSString *)fontStretch
641{
642    return [self getPropertyValue:@"font-stretch"];
643}
644
645- (void)setFontStretch:(NSString *)fontStretch
646{
647    [self setProperty:@"font-stretch" value:fontStretch priority:@""];
648}
649
650- (NSString *)fontStyle
651{
652    return [self getPropertyValue:@"font-style"];
653}
654
655- (void)setFontStyle:(NSString *)fontStyle
656{
657    [self setProperty:@"font-style" value:fontStyle priority:@""];
658}
659
660- (NSString *)fontVariant
661{
662    return [self getPropertyValue:@"font-variant"];
663}
664
665- (void)setFontVariant:(NSString *)fontVariant
666{
667    [self setProperty:@"font-variant" value:fontVariant priority:@""];
668}
669
670- (NSString *)fontWeight
671{
672    return [self getPropertyValue:@"font-weight"];
673}
674
675- (void)setFontWeight:(NSString *)fontWeight
676{
677    [self setProperty:@"font-weight" value:fontWeight priority:@""];
678}
679
680- (NSString *)height
681{
682    return [self getPropertyValue:@"height"];
683}
684
685- (void)setHeight:(NSString *)height
686{
687    [self setProperty:@"height" value:height priority:@""];
688}
689
690- (NSString *)left
691{
692    return [self getPropertyValue:@"left"];
693}
694
695- (void)setLeft:(NSString *)left
696{
697    [self setProperty:@"left" value:left priority:@""];
698}
699
700- (NSString *)letterSpacing
701{
702    return [self getPropertyValue:@"letter-spacing"];
703}
704
705- (void)setLetterSpacing:(NSString *)letterSpacing
706{
707    [self setProperty:@"letter-spacing" value:letterSpacing priority:@""];
708}
709
710- (NSString *)lineHeight
711{
712    return [self getPropertyValue:@"line-height"];
713}
714
715- (void)setLineHeight:(NSString *)lineHeight
716{
717    [self setProperty:@"line-height" value:lineHeight priority:@""];
718}
719
720- (NSString *)listStyle
721{
722    return [self getPropertyValue:@"list-style"];
723}
724
725- (void)setListStyle:(NSString *)listStyle
726{
727    [self setProperty:@"list-style" value:listStyle priority:@""];
728}
729
730- (NSString *)listStyleImage
731{
732    return [self getPropertyValue:@"list-style-image"];
733}
734
735- (void)setListStyleImage:(NSString *)listStyleImage
736{
737    [self setProperty:@"list-style-image" value:listStyleImage priority:@""];
738}
739
740- (NSString *)listStylePosition
741{
742    return [self getPropertyValue:@"list-style-position"];
743}
744
745- (void)setListStylePosition:(NSString *)listStylePosition
746{
747    [self setProperty:@"list-style-position" value:listStylePosition priority:@""];
748}
749
750- (NSString *)listStyleType
751{
752    return [self getPropertyValue:@"list-style-type"];
753}
754
755- (void)setListStyleType:(NSString *)listStyleType
756{
757    [self setProperty:@"list-style-type" value:listStyleType priority:@""];
758}
759
760- (NSString *)margin
761{
762    return [self getPropertyValue:@"margin"];
763}
764
765- (void)setMargin:(NSString *)margin
766{
767    [self setProperty:@"margin" value:margin priority:@""];
768}
769
770- (NSString *)marginTop
771{
772    return [self getPropertyValue:@"margin-top"];
773}
774
775- (void)setMarginTop:(NSString *)marginTop
776{
777    [self setProperty:@"margin-top" value:marginTop priority:@""];
778}
779
780- (NSString *)marginRight
781{
782    return [self getPropertyValue:@"margin-right"];
783}
784
785- (void)setMarginRight:(NSString *)marginRight
786{
787    [self setProperty:@"margin-right" value:marginRight priority:@""];
788}
789
790- (NSString *)marginBottom
791{
792    return [self getPropertyValue:@"margin-bottom"];
793}
794
795- (void)setMarginBottom:(NSString *)marginBottom
796{
797    [self setProperty:@"margin-bottom" value:marginBottom priority:@""];
798}
799
800- (NSString *)marginLeft
801{
802    return [self getPropertyValue:@"margin-left"];
803}
804
805- (void)setMarginLeft:(NSString *)marginLeft
806{
807    [self setProperty:@"margin-left" value:marginLeft priority:@""];
808}
809
810- (NSString *)markerOffset
811{
812    return [self getPropertyValue:@"marker-offset"];
813}
814
815- (void)setMarkerOffset:(NSString *)markerOffset
816{
817    [self setProperty:@"marker-offset" value:markerOffset priority:@""];
818}
819
820- (NSString *)marks
821{
822    return [self getPropertyValue:@"marks"];
823}
824
825- (void)setMarks:(NSString *)marks
826{
827    [self setProperty:@"marks" value:marks priority:@""];
828}
829
830- (NSString *)maxHeight
831{
832    return [self getPropertyValue:@"max-height"];
833}
834
835- (void)setMaxHeight:(NSString *)maxHeight
836{
837    [self setProperty:@"max-height" value:maxHeight priority:@""];
838}
839
840- (NSString *)maxWidth
841{
842    return [self getPropertyValue:@"max-width"];
843}
844
845- (void)setMaxWidth:(NSString *)maxWidth
846{
847    [self setProperty:@"max-width" value:maxWidth priority:@""];
848}
849
850- (NSString *)minHeight
851{
852    return [self getPropertyValue:@"min-height"];
853}
854
855- (void)setMinHeight:(NSString *)minHeight
856{
857    [self setProperty:@"min-height" value:minHeight priority:@""];
858}
859
860- (NSString *)minWidth
861{
862    return [self getPropertyValue:@"min-width"];
863}
864
865- (void)setMinWidth:(NSString *)minWidth
866{
867    [self setProperty:@"min-width" value:minWidth priority:@""];
868}
869
870- (NSString *)orphans
871{
872    return [self getPropertyValue:@"orphans"];
873}
874
875- (void)setOrphans:(NSString *)orphans
876{
877    [self setProperty:@"orphans" value:orphans priority:@""];
878}
879
880- (NSString *)outline
881{
882    return [self getPropertyValue:@"outline"];
883}
884
885- (void)setOutline:(NSString *)outline
886{
887    [self setProperty:@"outline" value:outline priority:@""];
888}
889
890- (NSString *)outlineColor
891{
892    return [self getPropertyValue:@"outline-color"];
893}
894
895- (void)setOutlineColor:(NSString *)outlineColor
896{
897    [self setProperty:@"outline-color" value:outlineColor priority:@""];
898}
899
900- (NSString *)outlineStyle
901{
902    return [self getPropertyValue:@"outline-style"];
903}
904
905- (void)setOutlineStyle:(NSString *)outlineStyle
906{
907    [self setProperty:@"outline-style" value:outlineStyle priority:@""];
908}
909
910- (NSString *)outlineWidth
911{
912    return [self getPropertyValue:@"outline-width"];
913}
914
915- (void)setOutlineWidth:(NSString *)outlineWidth
916{
917    [self setProperty:@"outline-width" value:outlineWidth priority:@""];
918}
919
920- (NSString *)overflow
921{
922    return [self getPropertyValue:@"overflow"];
923}
924
925- (void)setOverflow:(NSString *)overflow
926{
927    [self setProperty:@"overflow" value:overflow priority:@""];
928}
929
930- (NSString *)padding
931{
932    return [self getPropertyValue:@"padding"];
933}
934
935- (void)setPadding:(NSString *)padding
936{
937    [self setProperty:@"padding" value:padding priority:@""];
938}
939
940- (NSString *)paddingTop
941{
942    return [self getPropertyValue:@"padding-top"];
943}
944
945- (void)setPaddingTop:(NSString *)paddingTop
946{
947    [self setProperty:@"padding-top" value:paddingTop priority:@""];
948}
949
950- (NSString *)paddingRight
951{
952    return [self getPropertyValue:@"padding-right"];
953}
954
955- (void)setPaddingRight:(NSString *)paddingRight
956{
957    [self setProperty:@"padding-right" value:paddingRight priority:@""];
958}
959
960- (NSString *)paddingBottom
961{
962    return [self getPropertyValue:@"padding-bottom"];
963}
964
965- (void)setPaddingBottom:(NSString *)paddingBottom
966{
967    [self setProperty:@"padding-bottom" value:paddingBottom priority:@""];
968}
969
970- (NSString *)paddingLeft
971{
972    return [self getPropertyValue:@"padding-left"];
973}
974
975- (void)setPaddingLeft:(NSString *)paddingLeft
976{
977    [self setProperty:@"padding-left" value:paddingLeft priority:@""];
978}
979
980- (NSString *)page
981{
982    return [self getPropertyValue:@"page"];
983}
984
985- (void)setPage:(NSString *)page
986{
987    [self setProperty:@"page" value:page priority:@""];
988}
989
990- (NSString *)pageBreakAfter
991{
992    return [self getPropertyValue:@"page-break-after"];
993}
994
995- (void)setPageBreakAfter:(NSString *)pageBreakAfter
996{
997    [self setProperty:@"page-break-after" value:pageBreakAfter priority:@""];
998}
999
1000- (NSString *)pageBreakBefore
1001{
1002    return [self getPropertyValue:@"page-break-before"];
1003}
1004
1005- (void)setPageBreakBefore:(NSString *)pageBreakBefore
1006{
1007    [self setProperty:@"page-break-before" value:pageBreakBefore priority:@""];
1008}
1009
1010- (NSString *)pageBreakInside
1011{
1012    return [self getPropertyValue:@"page-break-inside"];
1013}
1014
1015- (void)setPageBreakInside:(NSString *)pageBreakInside
1016{
1017    [self setProperty:@"page-break-inside" value:pageBreakInside priority:@""];
1018}
1019
1020- (NSString *)pause
1021{
1022    return [self getPropertyValue:@"pause"];
1023}
1024
1025- (void)setPause:(NSString *)pause
1026{
1027    [self setProperty:@"pause" value:pause priority:@""];
1028}
1029
1030- (NSString *)pauseAfter
1031{
1032    return [self getPropertyValue:@"pause-after"];
1033}
1034
1035- (void)setPauseAfter:(NSString *)pauseAfter
1036{
1037    [self setProperty:@"pause-after" value:pauseAfter priority:@""];
1038}
1039
1040- (NSString *)pauseBefore
1041{
1042    return [self getPropertyValue:@"pause-before"];
1043}
1044
1045- (void)setPauseBefore:(NSString *)pauseBefore
1046{
1047    [self setProperty:@"pause-before" value:pauseBefore priority:@""];
1048}
1049
1050- (NSString *)pitch
1051{
1052    return [self getPropertyValue:@"pitch"];
1053}
1054
1055- (void)setPitch:(NSString *)pitch
1056{
1057    [self setProperty:@"pitch" value:pitch priority:@""];
1058}
1059
1060- (NSString *)pitchRange
1061{
1062    return [self getPropertyValue:@"pitch-range"];
1063}
1064
1065- (void)setPitchRange:(NSString *)pitchRange
1066{
1067    [self setProperty:@"pitch-range" value:pitchRange priority:@""];
1068}
1069
1070- (NSString *)playDuring
1071{
1072    return [self getPropertyValue:@"play-during"];
1073}
1074
1075- (void)setPlayDuring:(NSString *)playDuring
1076{
1077    [self setProperty:@"play-during" value:playDuring priority:@""];
1078}
1079
1080- (NSString *)position
1081{
1082    return [self getPropertyValue:@"position"];
1083}
1084
1085- (void)setPosition:(NSString *)position
1086{
1087    [self setProperty:@"position" value:position priority:@""];
1088}
1089
1090- (NSString *)quotes
1091{
1092    return [self getPropertyValue:@"quotes"];
1093}
1094
1095- (void)setQuotes:(NSString *)quotes
1096{
1097    [self setProperty:@"quotes" value:quotes priority:@""];
1098}
1099
1100- (NSString *)richness
1101{
1102    return [self getPropertyValue:@"richness"];
1103}
1104
1105- (void)setRichness:(NSString *)richness
1106{
1107    [self setProperty:@"richness" value:richness priority:@""];
1108}
1109
1110- (NSString *)right
1111{
1112    return [self getPropertyValue:@"right"];
1113}
1114
1115- (void)setRight:(NSString *)right
1116{
1117    [self setProperty:@"right" value:right priority:@""];
1118}
1119
1120- (NSString *)size
1121{
1122    return [self getPropertyValue:@"size"];
1123}
1124
1125- (void)setSize:(NSString *)size
1126{
1127    [self setProperty:@"size" value:size priority:@""];
1128}
1129
1130- (NSString *)speak
1131{
1132    return [self getPropertyValue:@"speak"];
1133}
1134
1135- (void)setSpeak:(NSString *)speak
1136{
1137    [self setProperty:@"speak" value:speak priority:@""];
1138}
1139
1140- (NSString *)speakHeader
1141{
1142    return [self getPropertyValue:@"speak-header"];
1143}
1144
1145- (void)setSpeakHeader:(NSString *)speakHeader
1146{
1147    [self setProperty:@"speak-header" value:speakHeader priority:@""];
1148}
1149
1150- (NSString *)speakNumeral
1151{
1152    return [self getPropertyValue:@"speak-numeral"];
1153}
1154
1155- (void)setSpeakNumeral:(NSString *)speakNumeral
1156{
1157    [self setProperty:@"speak-numeral" value:speakNumeral priority:@""];
1158}
1159
1160- (NSString *)speakPunctuation
1161{
1162    return [self getPropertyValue:@"speak-punctuation"];
1163}
1164
1165- (void)setSpeakPunctuation:(NSString *)speakPunctuation
1166{
1167    [self setProperty:@"speak-punctuation" value:speakPunctuation priority:@""];
1168}
1169
1170- (NSString *)speechRate
1171{
1172    return [self getPropertyValue:@"speech-rate"];
1173}
1174
1175- (void)setSpeechRate:(NSString *)speechRate
1176{
1177    [self setProperty:@"speech-rate" value:speechRate priority:@""];
1178}
1179
1180- (NSString *)stress
1181{
1182    return [self getPropertyValue:@"stress"];
1183}
1184
1185- (void)setStress:(NSString *)stress
1186{
1187    [self setProperty:@"stress" value:stress priority:@""];
1188}
1189
1190- (NSString *)tableLayout
1191{
1192    return [self getPropertyValue:@"table-layout"];
1193}
1194
1195- (void)setTableLayout:(NSString *)tableLayout
1196{
1197    [self setProperty:@"table-layout" value:tableLayout priority:@""];
1198}
1199
1200- (NSString *)textAlign
1201{
1202    return [self getPropertyValue:@"text-align"];
1203}
1204
1205- (void)setTextAlign:(NSString *)textAlign
1206{
1207    [self setProperty:@"text-align" value:textAlign priority:@""];
1208}
1209
1210- (NSString *)textDecoration
1211{
1212    return [self getPropertyValue:@"text-decoration"];
1213}
1214
1215- (void)setTextDecoration:(NSString *)textDecoration
1216{
1217    [self setProperty:@"text-decoration" value:textDecoration priority:@""];
1218}
1219
1220- (NSString *)textIndent
1221{
1222    return [self getPropertyValue:@"text-indent"];
1223}
1224
1225- (void)setTextIndent:(NSString *)textIndent
1226{
1227    [self setProperty:@"text-indent" value:textIndent priority:@""];
1228}
1229
1230- (NSString *)textShadow
1231{
1232    return [self getPropertyValue:@"text-shadow"];
1233}
1234
1235- (void)setTextShadow:(NSString *)textShadow
1236{
1237    [self setProperty:@"text-shadow" value:textShadow priority:@""];
1238}
1239
1240- (NSString *)textTransform
1241{
1242    return [self getPropertyValue:@"text-transform"];
1243}
1244
1245- (void)setTextTransform:(NSString *)textTransform
1246{
1247    [self setProperty:@"text-transform" value:textTransform priority:@""];
1248}
1249
1250- (NSString *)top
1251{
1252    return [self getPropertyValue:@"top"];
1253}
1254
1255- (void)setTop:(NSString *)top
1256{
1257    [self setProperty:@"top" value:top priority:@""];
1258}
1259
1260- (NSString *)unicodeBidi
1261{
1262    return [self getPropertyValue:@"unicode-bidi"];
1263}
1264
1265- (void)setUnicodeBidi:(NSString *)unicodeBidi
1266{
1267    [self setProperty:@"unicode-bidi" value:unicodeBidi priority:@""];
1268}
1269
1270- (NSString *)verticalAlign
1271{
1272    return [self getPropertyValue:@"vertical-align"];
1273}
1274
1275- (void)setVerticalAlign:(NSString *)verticalAlign
1276{
1277    [self setProperty:@"vertical-align" value:verticalAlign priority:@""];
1278}
1279
1280- (NSString *)visibility
1281{
1282    return [self getPropertyValue:@"visibility"];
1283}
1284
1285- (void)setVisibility:(NSString *)visibility
1286{
1287    [self setProperty:@"visibility" value:visibility priority:@""];
1288}
1289
1290- (NSString *)voiceFamily
1291{
1292    return [self getPropertyValue:@"voice-family"];
1293}
1294
1295- (void)setVoiceFamily:(NSString *)voiceFamily
1296{
1297    [self setProperty:@"voice-family" value:voiceFamily priority:@""];
1298}
1299
1300- (NSString *)volume
1301{
1302    return [self getPropertyValue:@"volume"];
1303}
1304
1305- (void)setVolume:(NSString *)volume
1306{
1307    [self setProperty:@"volume" value:volume priority:@""];
1308}
1309
1310- (NSString *)whiteSpace
1311{
1312    return [self getPropertyValue:@"white-space"];
1313}
1314
1315- (void)setWhiteSpace:(NSString *)whiteSpace
1316{
1317    [self setProperty:@"white-space" value:whiteSpace priority:@""];
1318}
1319
1320- (NSString *)widows
1321{
1322    return [self getPropertyValue:@"widows"];
1323}
1324
1325- (void)setWidows:(NSString *)widows
1326{
1327    [self setProperty:@"widows" value:widows priority:@""];
1328}
1329
1330- (NSString *)width
1331{
1332    return [self getPropertyValue:@"width"];
1333}
1334
1335- (void)setWidth:(NSString *)width
1336{
1337    [self setProperty:@"width" value:width priority:@""];
1338}
1339
1340- (NSString *)wordSpacing
1341{
1342    return [self getPropertyValue:@"word-spacing"];
1343}
1344
1345- (void)setWordSpacing:(NSString *)wordSpacing
1346{
1347    [self setProperty:@"word-spacing" value:wordSpacing priority:@""];
1348}
1349
1350- (NSString *)zIndex
1351{
1352    return [self getPropertyValue:@"z-index"];
1353}
1354
1355- (void)setZIndex:(NSString *)zIndex
1356{
1357    [self setProperty:@"z-index" value:zIndex priority:@""];
1358}
1359
1360@end
1361