Home | History | Annotate | Download | only in style

Lines Matching refs:surround

139     DataRef<StyleSurroundData> surround;
382 bool hasMargin() const { return surround->margin.nonZero(); }
383 bool hasBorder() const { return surround->border.hasBorder(); }
384 bool hasPadding() const { return surround->padding.nonZero(); }
385 bool hasOffset() const { return surround->offset.nonZero(); }
438 const Length& left() const { return surround->offset.left(); }
439 const Length& right() const { return surround->offset.right(); }
440 const Length& top() const { return surround->offset.top(); }
441 const Length& bottom() const { return surround->offset.bottom(); }
444 const Length& logicalLeft() const { return surround->offset.logicalLeft(writingMode()); }
445 const Length& logicalRight() const { return surround->offset.logicalRight(writingMode()); }
446 const Length& logicalTop() const { return surround->offset.before(writingMode()); }
447 const Length& logicalBottom() const { return surround->offset.after(writingMode()); }
476 const BorderData& border() const { return surround->border; }
477 const BorderValue& borderLeft() const { return surround->border.left(); }
478 const BorderValue& borderRight() const { return surround->border.right(); }
479 const BorderValue& borderTop() const { return surround->border.top(); }
480 const BorderValue& borderBottom() const { return surround->border.bottom(); }
487 const NinePieceImage& borderImage() const { return surround->border.image(); }
488 StyleImage* borderImageSource() const { return surround->border.image().image(); }
489 const LengthBox& borderImageSlices() const { return surround->border.image().imageSlices(); }
490 const BorderImageLengthBox& borderImageWidth() const { return surround->border.image().borderSlices(); }
491 const BorderImageLengthBox& borderImageOutset() const { return surround->border.image().outset(); }
493 const LengthSize& borderTopLeftRadius() const { return surround->border.topLeft(); }
494 const LengthSize& borderTopRightRadius() const { return surround->border.topRight(); }
495 const LengthSize& borderBottomLeftRadius() const { return surround->border.bottomLeft(); }
496 const LengthSize& borderBottomRightRadius() const { return surround->border.bottomRight(); }
497 bool hasBorderRadius() const { return surround->border.hasBorderRadius(); }
499 unsigned borderLeftWidth() const { return surround->border.borderLeftWidth(); }
500 EBorderStyle borderLeftStyle() const { return surround->border.left().style(); }
501 bool borderLeftIsTransparent() const { return surround->border.left().isTransparent(); }
502 unsigned borderRightWidth() const { return surround->border.borderRightWidth(); }
503 EBorderStyle borderRightStyle() const { return surround->border.right().style(); }
504 bool borderRightIsTransparent() const { return surround->border.right().isTransparent(); }
505 unsigned borderTopWidth() const { return surround->border.borderTopWidth(); }
506 EBorderStyle borderTopStyle() const { return surround->border.top().style(); }
507 bool borderTopIsTransparent() const { return surround->border.top().isTransparent(); }
508 unsigned borderBottomWidth() const { return surround->border.borderBottomWidth(); }
509 EBorderStyle borderBottomStyle() const { return surround->border.bottom().style(); }
510 bool borderBottomIsTransparent() const { return surround->border.bottom().isTransparent(); }
686 const Length& marginTop() const { return surround->margin.top(); }
687 const Length& marginBottom() const { return surround->margin.bottom(); }
688 const Length& marginLeft() const { return surround->margin.left(); }
689 const Length& marginRight() const { return surround->margin.right(); }
690 const Length& marginBefore() const { return surround->margin.before(writingMode()); }
691 const Length& marginAfter() const { return surround->margin.after(writingMode()); }
692 const Length& marginStart() const { return surround->margin.start(writingMode(), direction()); }
693 const Length& marginEnd() const { return surround->margin.end(writingMode(), direction()); }
694 const Length& marginStartUsing(const RenderStyle* otherStyle) const { return surround->margin.start(otherStyle->writingMode(), otherStyle->direction()); }
695 const Length& marginEndUsing(const RenderStyle* otherStyle) const { return surround->margin.end(otherStyle->writingMode(), otherStyle->direction()); }
696 const Length& marginBeforeUsing(const RenderStyle* otherStyle) const { return surround->margin.before(otherStyle->writingMode()); }
697 const Length& marginAfterUsing(const RenderStyle* otherStyle) const { return surround->margin.after(otherStyle->writingMode()); }
699 const LengthBox& paddingBox() const { return surround->padding; }
700 const Length& paddingTop() const { return surround->padding.top(); }
701 const Length& paddingBottom() const { return surround->padding.bottom(); }
702 const Length& paddingLeft() const { return surround->padding.left(); }
703 const Length& paddingRight() const { return surround->padding.right(); }
704 const Length& paddingBefore() const { return surround->padding.before(writingMode()); }
705 const Length& paddingAfter() const { return surround->padding.after(writingMode()); }
706 const Length& paddingStart() const { return surround->padding.start(writingMode(), direction()); }
707 const Length& paddingEnd() const { return surround->padding.end(writingMode(), direction()); }
977 void setLeft(const Length& v) { SET_VAR(surround, offset.m_left, v); }
978 void setRight(const Length& v) { SET_VAR(surround, offset.m_right, v); }
979 void setTop(const Length& v) { SET_VAR(surround, offset.m_top, v); }
980 void setBottom(const Length& v) { SET_VAR(surround, offset.m_bottom, v); }
1023 void resetBorderTop() { SET_VAR(surround, border.m_top, BorderValue()); }
1024 void resetBorderRight() { SET_VAR(surround, border.m_right, BorderValue()); }
1025 void resetBorderBottom() { SET_VAR(surround, border.m_bottom, BorderValue()); }
1026 void resetBorderLeft() { SET_VAR(surround, border.m_left, BorderValue()); }
1027 void resetBorderImage() { SET_VAR(surround, border.m_image, NinePieceImage()); }
1028 void resetBorderTopLeftRadius() { SET_VAR(surround, border.m_topLeft, initialBorderRadius()); }
1029 void resetBorderTopRightRadius() { SET_VAR(surround, border.m_topRight, initialBorderRadius()); }
1030 void resetBorderBottomLeftRadius() { SET_VAR(surround, border.m_bottomLeft, initialBorderRadius()); }
1031 void resetBorderBottomRightRadius() { SET_VAR(surround, border.m_bottomRight, initialBorderRadius()); }
1040 void setBorderImage(const NinePieceImage& b) { SET_VAR(surround, border.m_image, b); }
1046 void setBorderTopLeftRadius(const LengthSize& s) { SET_VAR(surround, border.m_topLeft, s); }
1047 void setBorderTopRightRadius(const LengthSize& s) { SET_VAR(surround, border.m_topRight, s); }
1048 void setBorderBottomLeftRadius(const LengthSize& s) { SET_VAR(surround, border.m_bottomLeft, s); }
1049 void setBorderBottomRightRadius(const LengthSize& s) { SET_VAR(surround, border.m_bottomRight, s); }
1069 void setBorderLeftWidth(unsigned v) { SET_VAR(surround, border.m_left.m_width, v); }
1070 void setBorderLeftStyle(EBorderStyle v) { SET_VAR(surround, border.m_left.m_style, v); }
1071 void setBorderLeftColor(const StyleColor& v) { SET_BORDERVALUE_COLOR(surround, border.m_left, v); }
1072 void setBorderRightWidth(unsigned v) { SET_VAR(surround, border.m_right.m_width, v); }
1073 void setBorderRightStyle(EBorderStyle v) { SET_VAR(surround, border.m_right.m_style, v); }
1074 void setBorderRightColor(const StyleColor& v) { SET_BORDERVALUE_COLOR(surround, border.m_right, v); }
1075 void setBorderTopWidth(unsigned v) { SET_VAR(surround, border.m_top.m_width, v); }
1076 void setBorderTopStyle(EBorderStyle v) { SET_VAR(surround, border.m_top.m_style, v); }
1077 void setBorderTopColor(const StyleColor& v) { SET_BORDERVALUE_COLOR(surround, border.m_top, v); }
1078 void setBorderBottomWidth(unsigned v) { SET_VAR(surround, border.m_bottom.m_width, v); }
1079 void setBorderBottomStyle(EBorderStyle v) { SET_VAR(surround, border.m_bottom.m_style, v); }
1080 void setBorderBottomColor(const StyleColor& v) { SET_BORDERVALUE_COLOR(surround, border.m_bottom, v); }
1205 void setMarginTop(const Length& v) { SET_VAR(surround, margin.m_top, v); }
1206 void setMarginBottom(const Length& v) { SET_VAR(surround, margin.m_bottom, v); }
1207 void setMarginLeft(const Length& v) { SET_VAR(surround, margin.m_left, v); }
1208 void setMarginRight(const Length& v) { SET_VAR(surround, margin.m_right, v); }
1212 void resetPadding() { SET_VAR(surround, padding, LengthBox(Auto)); }
1213 void setPaddingBox(const LengthBox& b) { SET_VAR(surround, padding, b); }
1214 void setPaddingTop(const Length& v) { SET_VAR(surround, padding.m_top, v); }
1215 void setPaddingBottom(const Length& v) { SET_VAR(surround, padding.m_bottom, v); }
1216 void setPaddingLeft(const Length& v) { SET_VAR(surround, padding.m_left, v); }
1217 void setPaddingRight(const Length& v) { SET_VAR(surround, padding.m_right, v); }
1780 StyleColor borderLeftColor() const { return surround->border.left().color(); }
1781 StyleColor borderRightColor() const { return surround->border.right().color(); }
1782 StyleColor borderTopColor() const { return surround->border.top().color(); }
1783 StyleColor borderBottomColor() const { return surround->border.bottom().color(); }