OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 void applyTransform(TransformationMatrix&, const LayoutSize& borderBoxSize,
ApplyTransformOrigin = IncludeTransformOrigin, ApplyMotionPath = IncludeMotionPa
th) const; | 875 void applyTransform(TransformationMatrix&, const LayoutSize& borderBoxSize,
ApplyTransformOrigin = IncludeTransformOrigin, ApplyMotionPath = IncludeMotionPa
th) const; |
876 void applyTransform(TransformationMatrix&, const FloatRect& boundingBox, App
lyTransformOrigin = IncludeTransformOrigin, ApplyMotionPath = IncludeMotionPath)
const; | 876 void applyTransform(TransformationMatrix&, const FloatRect& boundingBox, App
lyTransformOrigin = IncludeTransformOrigin, ApplyMotionPath = IncludeMotionPath)
const; |
877 | 877 |
878 bool hasMask() const { return rareNonInheritedData->m_mask.hasImage() || rar
eNonInheritedData->m_maskBoxImage.hasImage(); } | 878 bool hasMask() const { return rareNonInheritedData->m_mask.hasImage() || rar
eNonInheritedData->m_maskBoxImage.hasImage(); } |
879 | 879 |
880 TextCombine textCombine() const { return static_cast<TextCombine>(rareNonInh
eritedData->m_textCombine); } | 880 TextCombine textCombine() const { return static_cast<TextCombine>(rareNonInh
eritedData->m_textCombine); } |
881 bool hasTextCombine() const { return textCombine() != TextCombineNone; } | 881 bool hasTextCombine() const { return textCombine() != TextCombineNone; } |
882 | 882 |
883 TabSize tabSize() const { return rareInheritedData->m_tabSize; } | 883 TabSize tabSize() const { return rareInheritedData->m_tabSize; } |
884 | 884 |
| 885 RespectImageOrientationEnum respectImageOrientation() const { return static_
cast<RespectImageOrientationEnum>(rareInheritedData->m_respectImageOrientation);
} |
| 886 |
885 // End CSS3 Getters | 887 // End CSS3 Getters |
886 | 888 |
887 // Apple-specific property getter methods | 889 // Apple-specific property getter methods |
888 EPointerEvents pointerEvents() const { return static_cast<EPointerEvents>(in
herited_flags._pointerEvents); } | 890 EPointerEvents pointerEvents() const { return static_cast<EPointerEvents>(in
herited_flags._pointerEvents); } |
889 const CSSAnimationData* animations() const { return rareNonInheritedData->m_
animations.get(); } | 891 const CSSAnimationData* animations() const { return rareNonInheritedData->m_
animations.get(); } |
890 const CSSTransitionData* transitions() const { return rareNonInheritedData->
m_transitions.get(); } | 892 const CSSTransitionData* transitions() const { return rareNonInheritedData->
m_transitions.get(); } |
891 | 893 |
892 CSSAnimationData& accessAnimations(); | 894 CSSAnimationData& accessAnimations(); |
893 CSSTransitionData& accessTransitions(); | 895 CSSTransitionData& accessTransitions(); |
894 | 896 |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1356 | 1358 |
1357 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit,
f); } | 1359 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit,
f); } |
1358 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData,
m_objectPosition, position); } | 1360 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData,
m_objectPosition, position); } |
1359 | 1361 |
1360 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r
ubyPosition, position); } | 1362 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r
ubyPosition, position); } |
1361 | 1363 |
1362 void setFilter(const FilterOperations& ops) { SET_VAR(rareNonInheritedData.a
ccess()->m_filter, m_operations, ops); } | 1364 void setFilter(const FilterOperations& ops) { SET_VAR(rareNonInheritedData.a
ccess()->m_filter, m_operations, ops); } |
1363 | 1365 |
1364 void setTabSize(TabSize size) { SET_VAR(rareInheritedData, m_tabSize, size);
} | 1366 void setTabSize(TabSize size) { SET_VAR(rareInheritedData, m_tabSize, size);
} |
1365 | 1367 |
| 1368 void setRespectImageOrientation(RespectImageOrientationEnum v) { SET_VAR(rar
eInheritedData, m_respectImageOrientation, v); } |
| 1369 |
1366 // End CSS3 Setters | 1370 // End CSS3 Setters |
1367 | 1371 |
1368 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl
ow, wrapFlow); } | 1372 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl
ow, wrapFlow); } |
1369 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData,
m_wrapThrough, wrapThrough); } | 1373 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData,
m_wrapThrough, wrapThrough); } |
1370 | 1374 |
1371 // Apple-specific property setters | 1375 // Apple-specific property setters |
1372 void setPointerEvents(EPointerEvents p) { inherited_flags._pointerEvents = p
; } | 1376 void setPointerEvents(EPointerEvents p) { inherited_flags._pointerEvents = p
; } |
1373 | 1377 |
1374 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
, m_transformStyle3D, b); } | 1378 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
, m_transformStyle3D, b); } |
1375 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited
Data, m_backfaceVisibility, b); } | 1379 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited
Data, m_backfaceVisibility, b); } |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1662 static Length initialPerspectiveOriginY() { return Length(50.0, Percent); } | 1666 static Length initialPerspectiveOriginY() { return Length(50.0, Percent); } |
1663 static LengthPoint initialPerspectiveOrigin() { return LengthPoint(Length(50
.0, Percent), Length(50.0, Percent)); } | 1667 static LengthPoint initialPerspectiveOrigin() { return LengthPoint(Length(50
.0, Percent), Length(50.0, Percent)); } |
1664 static Color initialBackgroundColor() { return Color::transparent; } | 1668 static Color initialBackgroundColor() { return Color::transparent; } |
1665 static TextEmphasisFill initialTextEmphasisFill() { return TextEmphasisFillF
illed; } | 1669 static TextEmphasisFill initialTextEmphasisFill() { return TextEmphasisFillF
illed; } |
1666 static TextEmphasisMark initialTextEmphasisMark() { return TextEmphasisMarkN
one; } | 1670 static TextEmphasisMark initialTextEmphasisMark() { return TextEmphasisMarkN
one; } |
1667 static const AtomicString& initialTextEmphasisCustomMark() { return nullAtom
; } | 1671 static const AtomicString& initialTextEmphasisCustomMark() { return nullAtom
; } |
1668 static TextEmphasisPosition initialTextEmphasisPosition() { return TextEmpha
sisPositionOver; } | 1672 static TextEmphasisPosition initialTextEmphasisPosition() { return TextEmpha
sisPositionOver; } |
1669 static RubyPosition initialRubyPosition() { return RubyPositionBefore; } | 1673 static RubyPosition initialRubyPosition() { return RubyPositionBefore; } |
1670 static LineBoxContain initialLineBoxContain() { return LineBoxContainBlock |
LineBoxContainInline | LineBoxContainReplaced; } | 1674 static LineBoxContain initialLineBoxContain() { return LineBoxContainBlock |
LineBoxContainInline | LineBoxContainReplaced; } |
1671 static ImageOrientationEnum initialImageOrientation() { return OriginTopLeft
; } | 1675 static ImageOrientationEnum initialImageOrientation() { return OriginTopLeft
; } |
| 1676 static RespectImageOrientationEnum initialRespectImageOrientation() { return
DoNotRespectImageOrientation; } |
1672 static EImageRendering initialImageRendering() { return ImageRenderingAuto;
} | 1677 static EImageRendering initialImageRendering() { return ImageRenderingAuto;
} |
1673 static ImageResolutionSource initialImageResolutionSource() { return ImageRe
solutionSpecified; } | 1678 static ImageResolutionSource initialImageResolutionSource() { return ImageRe
solutionSpecified; } |
1674 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu
tionNoSnap; } | 1679 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu
tionNoSnap; } |
1675 static float initialImageResolution() { return 1; } | 1680 static float initialImageResolution() { return 1; } |
1676 static StyleImage* initialBorderImageSource() { return 0; } | 1681 static StyleImage* initialBorderImageSource() { return 0; } |
1677 static StyleImage* initialMaskBoxImageSource() { return 0; } | 1682 static StyleImage* initialMaskBoxImageSource() { return 0; } |
1678 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE
conomy; } | 1683 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE
conomy; } |
1679 static TouchAction initialTouchAction() { return TouchActionAuto; } | 1684 static TouchAction initialTouchAction() { return TouchActionAuto; } |
1680 static ShadowList* initialBoxShadow() { return 0; } | 1685 static ShadowList* initialBoxShadow() { return 0; } |
1681 static ShadowList* initialTextShadow() { return 0; } | 1686 static ShadowList* initialTextShadow() { return 0; } |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 } | 1920 } |
1916 | 1921 |
1917 inline bool ComputedStyle::hasPseudoElementStyle() const | 1922 inline bool ComputedStyle::hasPseudoElementStyle() const |
1918 { | 1923 { |
1919 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1924 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1920 } | 1925 } |
1921 | 1926 |
1922 } // namespace blink | 1927 } // namespace blink |
1923 | 1928 |
1924 #endif // ComputedStyle_h | 1929 #endif // ComputedStyle_h |
OLD | NEW |