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&); |
596 | 600 |
597 float zoom() const { return visual->m_zoom; } | 601 float zoom() const { return visual->m_zoom; } |
598 float effectiveZoom() const { return rareInheritedData->m_effectiveZoom; } | 602 float effectiveZoom() const { return rareInheritedData->m_effectiveZoom; } |
599 | 603 |
600 TextDirection direction() const { return static_cast<TextDirection>(inherite
d_flags._direction); } | 604 TextDirection direction() const { return static_cast<TextDirection>(inherite
d_flags._direction); } |
601 bool isLeftToRightDirection() const { return direction() == LTR; } | 605 bool isLeftToRightDirection() const { return direction() == LTR; } |
602 bool selfOrAncestorHasDirAutoAttribute() const { return rareInheritedData->m
_selfOrAncestorHasDirAutoAttribute; } | 606 bool selfOrAncestorHasDirAutoAttribute() const { return rareInheritedData->m
_selfOrAncestorHasDirAutoAttribute; } |
603 | 607 |
604 const Length& specifiedLineHeight() const; | 608 const Length& specifiedLineHeight() const; |
605 Length lineHeight() const; | 609 Length lineHeight() const; |
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1735 static EImageRendering initialImageRendering() { return ImageRenderingAuto;
} | 1739 static EImageRendering initialImageRendering() { return ImageRenderingAuto;
} |
1736 static ImageResolutionSource initialImageResolutionSource() { return ImageRe
solutionSpecified; } | 1740 static ImageResolutionSource initialImageResolutionSource() { return ImageRe
solutionSpecified; } |
1737 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu
tionNoSnap; } | 1741 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu
tionNoSnap; } |
1738 static float initialImageResolution() { return 1; } | 1742 static float initialImageResolution() { return 1; } |
1739 static StyleImage* initialBorderImageSource() { return 0; } | 1743 static StyleImage* initialBorderImageSource() { return 0; } |
1740 static StyleImage* initialMaskBoxImageSource() { return 0; } | 1744 static StyleImage* initialMaskBoxImageSource() { return 0; } |
1741 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE
conomy; } | 1745 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE
conomy; } |
1742 static TouchAction initialTouchAction() { return TouchActionAuto; } | 1746 static TouchAction initialTouchAction() { return TouchActionAuto; } |
1743 static ShadowList* initialBoxShadow() { return 0; } | 1747 static ShadowList* initialBoxShadow() { return 0; } |
1744 static ShadowList* initialTextShadow() { return 0; } | 1748 static ShadowList* initialTextShadow() { return 0; } |
| 1749 static StyleVariableData* initialVariables() { return nullptr; } |
1745 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorAuto; } | 1750 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorAuto; } |
1746 static ScrollSnapType initialScrollSnapType() { return ScrollSnapTypeNone; } | 1751 static ScrollSnapType initialScrollSnapType() { return ScrollSnapTypeNone; } |
1747 static ScrollSnapPoints initialScrollSnapPointsX() { return ScrollSnapPoints
(); } | 1752 static ScrollSnapPoints initialScrollSnapPointsX() { return ScrollSnapPoints
(); } |
1748 static ScrollSnapPoints initialScrollSnapPointsY() { return ScrollSnapPoints
(); } | 1753 static ScrollSnapPoints initialScrollSnapPointsY() { return ScrollSnapPoints
(); } |
1749 static LengthPoint initialScrollSnapDestination() { return LengthPoint(Lengt
h(0, Fixed), Length(0, Fixed)); } | 1754 static LengthPoint initialScrollSnapDestination() { return LengthPoint(Lengt
h(0, Fixed), Length(0, Fixed)); } |
1750 static Vector<LengthPoint> initialScrollSnapCoordinate() { return Vector<Len
gthPoint>(); } | 1755 static Vector<LengthPoint> initialScrollSnapCoordinate() { return Vector<Len
gthPoint>(); } |
1751 | 1756 |
1752 // The initial value is 'none' for grid tracks. | 1757 // The initial value is 'none' for grid tracks. |
1753 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr
idTrackSize>(); } | 1758 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr
idTrackSize>(); } |
1754 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT
rackSize>(); } | 1759 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT
rackSize>(); } |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1986 } | 1991 } |
1987 | 1992 |
1988 inline bool ComputedStyle::hasPseudoElementStyle() const | 1993 inline bool ComputedStyle::hasPseudoElementStyle() const |
1989 { | 1994 { |
1990 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1995 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1991 } | 1996 } |
1992 | 1997 |
1993 } // namespace blink | 1998 } // namespace blink |
1994 | 1999 |
1995 #endif // ComputedStyle_h | 2000 #endif // ComputedStyle_h |
OLD | NEW |