Home | History | Annotate | Download | only in style

Lines Matching refs:SET_VAR

98 #define SET_VAR(group, variable, value) \
721 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v) }
722 void setRight(Length v) { SET_VAR(surround, offset.m_right, v) }
723 void setTop(Length v) { SET_VAR(surround, offset.m_top, v) }
724 void setBottom(Length v) { SET_VAR(surround, offset.m_bottom, v) }
726 void setWidth(Length v) { SET_VAR(box, width, v) }
727 void setHeight(Length v) { SET_VAR(box, height, v) }
729 void setMinWidth(Length v) { SET_VAR(box, min_width, v) }
730 void setMaxWidth(Length v) { SET_VAR(box, max_width, v) }
731 void setMinHeight(Length v) { SET_VAR(box, min_height, v) }
732 void setMaxHeight(Length v) { SET_VAR(box, max_height, v) }
736 void setDashboardRegions(Vector<StyleDashboardRegion> regions) { SET_VAR(rareNonInheritedData, m_dashboardRegions, regions); }
754 void resetBorderTop() { SET_VAR(surround, border.top, BorderValue()) }
755 void resetBorderRight() { SET_VAR(surround, border.right, BorderValue()) }
756 void resetBorderBottom() { SET_VAR(surround, border.bottom, BorderValue()) }
757 void resetBorderLeft() { SET_VAR(surround, border.left, BorderValue()) }
758 void resetBorderImage() { SET_VAR(surround, border.image, NinePieceImage()) }
760 void resetBorderTopLeftRadius() { SET_VAR(surround, border.topLeft, initialBorderRadius()) }
761 void resetBorderTopRightRadius() { SET_VAR(surround, border.topRight, initialBorderRadius()) }
762 void resetBorderBottomLeftRadius() { SET_VAR(surround, border.bottomLeft, initialBorderRadius()) }
763 void resetBorderBottomRightRadius() { SET_VAR(surround, border.bottomRight, initialBorderRadius()) }
765 void resetOutline() { SET_VAR(background, m_outline, OutlineValue()) }
767 void setBackgroundColor(const Color& v) { SET_VAR(background, m_color, v) }
769 void setBackgroundXPosition(Length l) { SET_VAR(background, m_background.m_xPosition, l) }
770 void setBackgroundYPosition(Length l) { SET_VAR(background, m_background.m_yPosition, l) }
771 void setBackgroundSize(EFillSizeType b) { SET_VAR(background, m_background.m_sizeType, b) }
772 void setBackgroundSizeLength(LengthSize l) { SET_VAR(background, m_background.m_sizeLength, l) }
774 void setBorderImage(const NinePieceImage& b) { SET_VAR(surround, border.image, b) }
776 void setBorderTopLeftRadius(const IntSize& s) { SET_VAR(surround, border.topLeft, s) }
777 void setBorderTopRightRadius(const IntSize& s) { SET_VAR(surround, border.topRight, s) }
778 void setBorderBottomLeftRadius(const IntSize& s) { SET_VAR(surround, border.bottomLeft, s) }
779 void setBorderBottomRightRadius(const IntSize& s) { SET_VAR(surround, border.bottomRight, s) }
791 void setBorderLeftWidth(unsigned short v) { SET_VAR(surround, border.left.width, v) }
792 void setBorderLeftStyle(EBorderStyle v) { SET_VAR(surround, border.left.m_style, v) }
793 void setBorderLeftColor(const Color& v) { SET_VAR(surround, border.left.color, v) }
794 void setBorderRightWidth(unsigned short v) { SET_VAR(surround, border.right.width, v) }
795 void setBorderRightStyle(EBorderStyle v) { SET_VAR(surround, border.right.m_style, v) }
796 void setBorderRightColor(const Color& v) { SET_VAR(surround, border.right.color, v) }
797 void setBorderTopWidth(unsigned short v) { SET_VAR(surround, border.top.width, v) }
798 void setBorderTopStyle(EBorderStyle v) { SET_VAR(surround, border.top.m_style, v) }
799 void setBorderTopColor(const Color& v) { SET_VAR(surround, border.top.color, v) }
800 void setBorderBottomWidth(unsigned short v) { SET_VAR(surround, border.bottom.width, v) }
801 void setBorderBottomStyle(EBorderStyle v) { SET_VAR(surround, border.bottom.m_style, v) }
802 void setBorderBottomColor(const Color& v) { SET_VAR(surround, border.bottom.color, v) }
803 void setOutlineWidth(unsigned short v) { SET_VAR(background, m_outline.width, v) }
807 SET_VAR(background, m_outline.m_style, v)
808 SET_VAR(background, m_outline._auto, isAuto)
811 void setOutlineColor(const Color& v) { SET_VAR(background, m_outline.color, v) }
817 void setVerticalAlignLength(Length l) { SET_VAR(box, vertical_align, l) }
819 void setHasClip(bool b = true) { SET_VAR(visual, hasClip, b) }
820 void setClipLeft(Length v) { SET_VAR(visual, clip.m_left, v) }
821 void setClipRight(Length v) { SET_VAR(visual, clip.m_right, v) }
822 void setClipTop(Length v) { SET_VAR(visual, clip.m_top, v) }
823 void setClipBottom(Length v) { SET_VAR(visual, clip.m_bottom, v) }
843 void setColor(const Color& v) { SET_VAR(inherited, color, v) }
844 void setTextIndent(Length v) { SET_VAR(inherited, indent, v) }
849 void setTextDecoration(int v) { SET_VAR(visual, textDecoration, v); }
851 void setLineHeight(Length v) { SET_VAR(inherited, line_height, v) }
852 void setZoom(float f) { SET_VAR(visual, m_zoom, f); setEffectiveZoom(effectiveZoom() * zoom()); }
853 void setEffectiveZoom(float f) { SET_VAR(inherited, m_effectiveZoom, f) }
882 void setMaskBoxImage(const NinePieceImage& b) { SET_VAR(rareNonInheritedData, m_maskBoxImage, b) }
883 void setMaskXPosition(Length l) { SET_VAR(rareNonInheritedData, m_mask.m_xPosition, l) }
884 void setMaskYPosition(Length l) { SET_VAR(rareNonInheritedData, m_mask.m_yPosition, l) }
885 void setMaskSize(LengthSize l) { SET_VAR(rareNonInheritedData, m_mask.m_sizeLength, l) }
888 void setHorizontalBorderSpacing(short v) { SET_VAR(inherited, horizontal_border_spacing, v) }
889 void setVerticalBorderSpacing(short v) { SET_VAR(inherited, vertical_border_spacing, v) }
893 void setCounterIncrement(short v) { SET_VAR(visual, counterIncrement, v) }
894 void setCounterReset(short v) { SET_VAR(visual, counterReset, v) }
900 void resetMargin() { SET_VAR(surround, margin, LengthBox(Fixed)) }
901 void setMarginTop(Length v) { SET_VAR(surround, margin.m_top, v) }
902 void setMarginBottom(Length v) { SET_VAR(surround, margin.m_bottom, v) }
903 void setMarginLeft(Length v) { SET_VAR(surround, margin.m_left, v) }
904 void setMarginRight(Length v) { SET_VAR(surround, margin.m_right, v) }
906 void resetPadding() { SET_VAR(surround, padding, LengthBox(Auto)) }
907 void setPaddingBox(const LengthBox& b) { SET_VAR(surround, padding, b) }
908 void setPaddingTop(Length v) { SET_VAR(surround, padding.m_top, v) }
909 void setPaddingBottom(Length v) { SET_VAR(surround, padding.m_bottom, v) }
910 void setPaddingLeft(Length v) { SET_VAR(surround, padding.m_left, v) }
911 void setPaddingRight(Length v) { SET_VAR(surround, padding.m_right, v) }
925 void setHasAutoZIndex() { SET_VAR(box, z_auto, true); SET_VAR(box, z_index, 0) }
927 void setZIndex(int v) { SET_VAR(box, z_auto, false); SET_VAR(box, z_index, v) }
929 void setWidows(short w) { SET_VAR(inherited, widows, w); }
930 void setOrphans(short o) { SET_VAR(inherited, orphans, o); }
937 void deleteBindingURIs() { SET_VAR(rareNonInheritedData, bindingURI, static_cast<BindingURI*>(0)); }
938 void inheritBindingURIs(BindingURI* other) { SET_VAR(rareNonInheritedData, bindingURI, other->copy()); }
942 void setOutlineOffset(int v) { SET_VAR(background, m_outline._offset, v) }
944 void setTextStrokeColor(const Color& c) { SET_VAR(rareInheritedData, textStrokeColor, c) }
945 void setTextStrokeWidth(float w) { SET_VAR(rareInheritedData, textStrokeWidth, w) }
946 void setTextFillColor(const Color& c) { SET_VAR(rareInheritedData, textFillColor, c) }
947 void setColorSpace(ColorSpace space) { SET_VAR
948 void setOpacity(float f) { SET_VAR(rareNonInheritedData, opacity, f); }
949 void setAppearance(ControlPart a) { SET_VAR(rareNonInheritedData, m_appearance, a); }
950 void setBoxAlign(EBoxAlignment a) { SET_VAR(rareNonInheritedData.access()->flexibleBox, align, a); }
952 void setBoxFlex(float f) { SET_VAR(rareNonInheritedData.access()->flexibleBox, flex, f); }
953 void setBoxFlexGroup(unsigned int fg) { SET_VAR(rareNonInheritedData.access()->flexibleBox, flex_group, fg); }
954 void setBoxLines(EBoxLines l) { SET_VAR(rareNonInheritedData.access()->flexibleBox, lines, l); }
955 void setBoxOrdinalGroup(unsigned int og) { SET_VAR(rareNonInheritedData.access()->flexibleBox, ordinal_group, og); }
956 void setBoxOrient(EBoxOrient o) { SET_VAR(rareNonInheritedData.access()->flexibleBox, orient, o); }
957 void setBoxPack(EBoxAlignment p) { SET_VAR(rareNonInheritedData.access()->flexibleBox, pack, p); }
960 void setBoxSizing(EBoxSizing s) { SET_VAR(box, boxSizing, s); }
961 void setMarqueeIncrement(const Length& f) { SET_VAR(rareNonInheritedData.access()->marquee, increment, f); }
962 void setMarqueeSpeed(int f) { SET_VAR(rareNonInheritedData.access()->marquee, speed, f); }
963 void setMarqueeDirection(EMarqueeDirection d) { SET_VAR(rareNonInheritedData.access()->marquee, direction, d); }
964 void setMarqueeBehavior(EMarqueeBehavior b) { SET_VAR(rareNonInheritedData.access()->marquee, behavior, b); }
965 void setMarqueeLoopCount(int i) { SET_VAR(rareNonInheritedData.access()->marquee, loops, i); }
966 void setUserModify(EUserModify u) { SET_VAR(rareInheritedData, userModify, u); }
967 void setUserDrag(EUserDrag d) { SET_VAR(rareNonInheritedData, userDrag, d); }
968 void setUserSelect(EUserSelect s) { SET_VAR(rareInheritedData, userSelect, s); }
969 void setTextOverflow(bool b) { SET_VAR(rareNonInheritedData, textOverflow, b); }
970 void setMarginTopCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedData, marginTopCollapse, c); }
971 void setMarginBottomCollapse(EMarginCollapse c) { SET_VAR(rareNonInheritedData, marginBottomCollapse, c); }
972 void setWordBreak(EWordBreak b) { SET_VAR(rareInheritedData, wordBreak, b); }
973 void setWordWrap(EWordWrap b) { SET_VAR(rareInheritedData, wordWrap, b); }
974 void setNBSPMode(ENBSPMode b) { SET_VAR(rareInheritedData, nbspMode, b); }
975 void setKHTMLLineBreak(EKHTMLLineBreak b) { SET_VAR(rareInheritedData, khtmlLineBreak, b); }
976 void setMatchNearestMailBlockquoteColor(EMatchNearestMailBlockquoteColor c) { SET_VAR(rareNonInheritedData, matchNearestMailBlockquoteColor, c); }
977 void setHighlight(const AtomicString& h) { SET_VAR(rareInheritedData, highlight, h); }
978 void setBorderFit(EBorderFit b) { SET_VAR(rareNonInheritedData, m_borderFit, b); }
979 void setResize(EResize r) { SET_VAR(rareInheritedData, resize, r); }
980 void setColumnWidth(float f) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_autoWidth, false); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_width, f); }
981 void setHasAutoColumnWidth() { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_autoWidth, true); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_width, 0); }
982 void setColumnCount(unsigned short c) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_autoCount, false); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_count, c); }
983 void setHasAutoColumnCount() { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_autoCount, true); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_count, 0); }
984 void setColumnGap(float f) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_normalGap, false); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_gap, f); }
985 void setHasNormalColumnGap() { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_normalGap, true); SET_VAR(rareNonInheritedData.access()->m_multiCol, m_gap, 0); }
986 void setColumnRuleColor(const Color& c) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_rule.color, c); }
987 void setColumnRuleStyle(EBorderStyle b) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_rule.m_style, b); }
988 void setColumnRuleWidth(unsigned short w) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_rule.width, w); }
989 void resetColumnRule() { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_rule, BorderValue()) }
990 void setColumnBreakBefore(EPageBreak p) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_breakBefore, p); }
991 void setColumnBreakInside(EPageBreak p) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_breakInside, p); }
992 void setColumnBreakAfter(EPageBreak p) { SET_VAR(rareNonInheritedData.access()->m_multiCol, m_breakAfter, p); }
993 void setTransform(const TransformOperations& ops) { SET_VAR(rareNonInheritedData.access()->m_transform, m_operations, ops); }
994 void setTransformOriginX(Length l) { SET_VAR(rareNonInheritedData.access()->m_transform, m_x, l); }
995 void setTransformOriginY(Length l) { SET_VAR(rareNonInheritedData.access()->m_transform, m_y, l); }
996 void setTransformOriginZ(float f) { SET_VAR(rareNonInheritedData.access()->m_transform, m_z, f); }
1017 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData, m_transformStyle3D, b); }
1018 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInheritedData, m_backfaceVisibility, b); }
1019 void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective, p); }
1020 void setPerspectiveOriginX(Length l) { SET_VAR(rareNonInheritedData, m_perspectiveOriginX, l); }
1021 void setPerspectiveOriginY(Length l) { SET_VAR(rareNonInheritedData, m_perspectiveOriginY, l); }
1024 void setIsRunningAcceleratedAnimation(bool b = true) { SET_VAR(rareNonInheritedData, m_runningAcceleratedAnimation, b); }
1027 void setLineClamp(LineClampValue c) { SET_VAR(rareNonInheritedData, lineClamp, c); }
1028 void setTextSizeAdjust(bool b) { SET_VAR(rareInheritedData, textSizeAdjust, b); }
1029 void setTextSecurity(ETextSecurity aTextSecurity) { SET_VAR(rareInheritedData, textSecurity, aTextSecurity); }
1032 void setTapHighlightColor(const Color& v) { SET_VAR(rareInheritedData, tapHighlightColor, v); }