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 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
582 TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rare
InheritedData->m_textAlignLast); } | 582 TextAlignLast textAlignLast() const { return static_cast<TextAlignLast>(rare
InheritedData->m_textAlignLast); } |
583 TextJustify textJustify() const { return static_cast<TextJustify>(rareInheri
tedData->m_textJustify); } | 583 TextJustify textJustify() const { return static_cast<TextJustify>(rareInheri
tedData->m_textJustify); } |
584 ETextTransform textTransform() const { return static_cast<ETextTransform>(in
herited_flags._text_transform); } | 584 ETextTransform textTransform() const { return static_cast<ETextTransform>(in
herited_flags._text_transform); } |
585 TextDecoration textDecorationsInEffect() const; | 585 TextDecoration textDecorationsInEffect() const; |
586 const Vector<AppliedTextDecoration>& appliedTextDecorations() const; | 586 const Vector<AppliedTextDecoration>& appliedTextDecorations() const; |
587 TextDecoration textDecoration() const { return static_cast<TextDecoration>(v
isual->textDecoration); } | 587 TextDecoration textDecoration() const { return static_cast<TextDecoration>(v
isual->textDecoration); } |
588 TextUnderlinePosition textUnderlinePosition() const { return static_cast<Tex
tUnderlinePosition>(rareInheritedData->m_textUnderlinePosition); } | 588 TextUnderlinePosition textUnderlinePosition() const { return static_cast<Tex
tUnderlinePosition>(rareInheritedData->m_textUnderlinePosition); } |
589 TextDecorationStyle textDecorationStyle() const { return static_cast<TextDec
orationStyle>(rareNonInheritedData->m_textDecorationStyle); } | 589 TextDecorationStyle textDecorationStyle() const { return static_cast<TextDec
orationStyle>(rareNonInheritedData->m_textDecorationStyle); } |
590 float wordSpacing() const; | 590 float wordSpacing() const; |
591 float letterSpacing() const; | 591 float letterSpacing() const; |
| 592 StyleVariableData* variables() const; |
| 593 void setVariables(PassRefPtr<StyleVariableData>); |
| 594 |
| 595 void setVariable(const AtomicString&, PassRefPtr<CSSVariableData>); |
| 596 void removeVariable(const AtomicString&); |
592 | 597 |
593 float zoom() const { return visual->m_zoom; } | 598 float zoom() const { return visual->m_zoom; } |
594 float effectiveZoom() const { return rareInheritedData->m_effectiveZoom; } | 599 float effectiveZoom() const { return rareInheritedData->m_effectiveZoom; } |
595 | 600 |
596 TextDirection direction() const { return static_cast<TextDirection>(inherite
d_flags._direction); } | 601 TextDirection direction() const { return static_cast<TextDirection>(inherite
d_flags._direction); } |
597 bool isLeftToRightDirection() const { return direction() == LTR; } | 602 bool isLeftToRightDirection() const { return direction() == LTR; } |
598 bool selfOrAncestorHasDirAutoAttribute() const { return rareInheritedData->m
_selfOrAncestorHasDirAutoAttribute; } | 603 bool selfOrAncestorHasDirAutoAttribute() const { return rareInheritedData->m
_selfOrAncestorHasDirAutoAttribute; } |
599 | 604 |
600 const Length& specifiedLineHeight() const; | 605 const Length& specifiedLineHeight() const; |
601 Length lineHeight() const; | 606 Length lineHeight() const; |
(...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1695 static EImageRendering initialImageRendering() { return ImageRenderingAuto;
} | 1700 static EImageRendering initialImageRendering() { return ImageRenderingAuto;
} |
1696 static ImageResolutionSource initialImageResolutionSource() { return ImageRe
solutionSpecified; } | 1701 static ImageResolutionSource initialImageResolutionSource() { return ImageRe
solutionSpecified; } |
1697 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu
tionNoSnap; } | 1702 static ImageResolutionSnap initialImageResolutionSnap() { return ImageResolu
tionNoSnap; } |
1698 static float initialImageResolution() { return 1; } | 1703 static float initialImageResolution() { return 1; } |
1699 static StyleImage* initialBorderImageSource() { return 0; } | 1704 static StyleImage* initialBorderImageSource() { return 0; } |
1700 static StyleImage* initialMaskBoxImageSource() { return 0; } | 1705 static StyleImage* initialMaskBoxImageSource() { return 0; } |
1701 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE
conomy; } | 1706 static PrintColorAdjust initialPrintColorAdjust() { return PrintColorAdjustE
conomy; } |
1702 static TouchAction initialTouchAction() { return TouchActionAuto; } | 1707 static TouchAction initialTouchAction() { return TouchActionAuto; } |
1703 static ShadowList* initialBoxShadow() { return 0; } | 1708 static ShadowList* initialBoxShadow() { return 0; } |
1704 static ShadowList* initialTextShadow() { return 0; } | 1709 static ShadowList* initialTextShadow() { return 0; } |
| 1710 static StyleVariableData* initialVariables() { return nullptr; } |
1705 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorAuto; } | 1711 static ScrollBehavior initialScrollBehavior() { return ScrollBehaviorAuto; } |
1706 static ScrollSnapType initialScrollSnapType() { return ScrollSnapTypeNone; } | 1712 static ScrollSnapType initialScrollSnapType() { return ScrollSnapTypeNone; } |
1707 static ScrollSnapPoints initialScrollSnapPointsX() { return ScrollSnapPoints
(); } | 1713 static ScrollSnapPoints initialScrollSnapPointsX() { return ScrollSnapPoints
(); } |
1708 static ScrollSnapPoints initialScrollSnapPointsY() { return ScrollSnapPoints
(); } | 1714 static ScrollSnapPoints initialScrollSnapPointsY() { return ScrollSnapPoints
(); } |
1709 static LengthPoint initialScrollSnapDestination() { return LengthPoint(Lengt
h(0, Fixed), Length(0, Fixed)); } | 1715 static LengthPoint initialScrollSnapDestination() { return LengthPoint(Lengt
h(0, Fixed), Length(0, Fixed)); } |
1710 static Vector<LengthPoint> initialScrollSnapCoordinate() { return Vector<Len
gthPoint>(); } | 1716 static Vector<LengthPoint> initialScrollSnapCoordinate() { return Vector<Len
gthPoint>(); } |
1711 | 1717 |
1712 // The initial value is 'none' for grid tracks. | 1718 // The initial value is 'none' for grid tracks. |
1713 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr
idTrackSize>(); } | 1719 static Vector<GridTrackSize> initialGridTemplateColumns() { return Vector<Gr
idTrackSize>(); } |
1714 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT
rackSize>(); } | 1720 static Vector<GridTrackSize> initialGridTemplateRows() { return Vector<GridT
rackSize>(); } |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1941 } | 1947 } |
1942 | 1948 |
1943 inline bool ComputedStyle::hasPseudoElementStyle() const | 1949 inline bool ComputedStyle::hasPseudoElementStyle() const |
1944 { | 1950 { |
1945 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1951 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1946 } | 1952 } |
1947 | 1953 |
1948 } // namespace blink | 1954 } // namespace blink |
1949 | 1955 |
1950 #endif // ComputedStyle_h | 1956 #endif // ComputedStyle_h |
OLD | NEW |