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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rare
InheritedData->m_textAlignLast); } | 586 TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rare
InheritedData->m_textAlignLast); } |
587 TextJustify textJustify() const { return static_cast<TextJustify>(rareInheri
tedData->m_textJustify); } | 587 TextJustify textJustify() const { return static_cast<TextJustify>(rareInheri
tedData->m_textJustify); } |
588 ETextTransform textTransform() const { return static_cast<ETextTransform>(in
herited_flags._text_transform); } | 588 ETextTransform textTransform() const { return static_cast<ETextTransform>(in
herited_flags._text_transform); } |
589 TextDecoration textDecorationsInEffect() const; | 589 TextDecoration textDecorationsInEffect() const; |
590 const Vector<AppliedTextDecoration>& appliedTextDecorations() const; | 590 const Vector<AppliedTextDecoration>& appliedTextDecorations() const; |
591 TextDecoration textDecoration() const { return static_cast<TextDecoration>(v
isual->textDecoration); } | 591 TextDecoration textDecoration() const { return static_cast<TextDecoration>(v
isual->textDecoration); } |
592 TextUnderlinePosition textUnderlinePosition() const { return static_cast<Tex
tUnderlinePosition>(rareInheritedData->m_textUnderlinePosition); } | 592 TextUnderlinePosition textUnderlinePosition() const { return static_cast<Tex
tUnderlinePosition>(rareInheritedData->m_textUnderlinePosition); } |
593 TextDecorationStyle textDecorationStyle() const { return static_cast<TextDec
orationStyle>(rareNonInheritedData->m_textDecorationStyle); } | 593 TextDecorationStyle textDecorationStyle() const { return static_cast<TextDec
orationStyle>(rareNonInheritedData->m_textDecorationStyle); } |
594 float wordSpacing() const; | 594 float wordSpacing() const; |
595 float letterSpacing() const; | 595 float letterSpacing() const; |
596 StyleVariableData* variables() const; | |
597 | |
598 void setVariable(const AtomicString&, PassRefPtr<CSSVariableData>); | |
599 void removeVariable(const AtomicString&); | |
600 | 596 |
601 float zoom() const { return visual->m_zoom; } | 597 float zoom() const { return visual->m_zoom; } |
602 float effectiveZoom() const { return rareInheritedData->m_effectiveZoom; } | 598 float effectiveZoom() const { return rareInheritedData->m_effectiveZoom; } |
603 | 599 |
604 TextDirection direction() const { return static_cast<TextDirection>(inherite
d_flags._direction); } | 600 TextDirection direction() const { return static_cast<TextDirection>(inherite
d_flags._direction); } |
605 bool isLeftToRightDirection() const { return direction() == LTR; } | 601 bool isLeftToRightDirection() const { return direction() == LTR; } |
606 bool selfOrAncestorHasDirAutoAttribute() const { return rareInheritedData->m
_selfOrAncestorHasDirAutoAttribute; } | 602 bool selfOrAncestorHasDirAutoAttribute() const { return rareInheritedData->m
_selfOrAncestorHasDirAutoAttribute; } |
607 | 603 |
608 const Length& specifiedLineHeight() const; | 604 const Length& specifiedLineHeight() const; |
609 Length lineHeight() const; | 605 Length lineHeight() const; |
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1739 static EImageRendering initialImageRendering() { return ImageRenderingAuto;
} | 1735 static EImageRendering initialImageRendering() { return ImageRenderingAuto;
} |
1740 static ImageResolutionSource initialImageResolutionSource() { return ImageRe
solutionSpecified; } | 1736 static ImageResolutionSource initialImageResolutionSource() { return ImageRe
solutionSpecified; } |
1741 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu
tionNoSnap; } | 1737 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu
tionNoSnap; } |
1742 static float initialImageResolution() { return 1; } | 1738 static float initialImageResolution() { return 1; } |
1743 static StyleImage* initialBorderImageSource() { return 0; } | 1739 static StyleImage* initialBorderImageSource() { return 0; } |
1744 static StyleImage* initialMaskBoxImageSource() { return 0; } | 1740 static StyleImage* initialMaskBoxImageSource() { return 0; } |
1745 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE
conomy; } | 1741 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE
conomy; } |
1746 static TouchAction initialTouchAction() { return TouchActionAuto; } | 1742 static TouchAction initialTouchAction() { return TouchActionAuto; } |
1747 static ShadowList* initialBoxShadow() { return 0; } | 1743 static ShadowList* initialBoxShadow() { return 0; } |
1748 static ShadowList* initialTextShadow() { return 0; } | 1744 static ShadowList* initialTextShadow() { return 0; } |
1749 static StyleVariableData* initialVariables() { return nullptr; } | |
1750 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorAuto; } | 1745 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorAuto; } |
1751 static ScrollSnapType initialScrollSnapType() { return ScrollSnapTypeNone; } | 1746 static ScrollSnapType initialScrollSnapType() { return ScrollSnapTypeNone; } |
1752 static ScrollSnapPoints initialScrollSnapPointsX() { return ScrollSnapPoints
(); } | 1747 static ScrollSnapPoints initialScrollSnapPointsX() { return ScrollSnapPoints
(); } |
1753 static ScrollSnapPoints initialScrollSnapPointsY() { return ScrollSnapPoints
(); } | 1748 static ScrollSnapPoints initialScrollSnapPointsY() { return ScrollSnapPoints
(); } |
1754 static LengthPoint initialScrollSnapDestination() { return LengthPoint(Lengt
h(0, Fixed), Length(0, Fixed)); } | 1749 static LengthPoint initialScrollSnapDestination() { return LengthPoint(Lengt
h(0, Fixed), Length(0, Fixed)); } |
1755 static Vector<LengthPoint> initialScrollSnapCoordinate() { return Vector<Len
gthPoint>(); } | 1750 static Vector<LengthPoint> initialScrollSnapCoordinate() { return Vector<Len
gthPoint>(); } |
1756 | 1751 |
1757 // The initial value is 'none' for grid tracks. | 1752 // The initial value is 'none' for grid tracks. |
1758 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr
idTrackSize>(); } | 1753 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr
idTrackSize>(); } |
1759 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT
rackSize>(); } | 1754 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT
rackSize>(); } |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1991 } | 1986 } |
1992 | 1987 |
1993 inline bool ComputedStyle::hasPseudoElementStyle() const | 1988 inline bool ComputedStyle::hasPseudoElementStyle() const |
1994 { | 1989 { |
1995 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1990 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1996 } | 1991 } |
1997 | 1992 |
1998 } // namespace blink | 1993 } // namespace blink |
1999 | 1994 |
2000 #endif // ComputedStyle_h | 1995 #endif // ComputedStyle_h |
OLD | NEW |