| 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 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 void setIsolation(EIsolation v) { rareNonInheritedData.access()->m_isolation
= v; } | 1016 void setIsolation(EIsolation v) { rareNonInheritedData.access()->m_isolation
= v; } |
| 1017 bool hasIsolation() const { return isolation() != IsolationAuto; } | 1017 bool hasIsolation() const { return isolation() != IsolationAuto; } |
| 1018 | 1018 |
| 1019 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef
tToRightDirection() && isHorizontalWritingMode(); } | 1019 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef
tToRightDirection() && isHorizontalWritingMode(); } |
| 1020 | 1020 |
| 1021 TouchAction getTouchAction() const { return static_cast<TouchAction>(rareNon
InheritedData->m_touchAction); } | 1021 TouchAction getTouchAction() const { return static_cast<TouchAction>(rareNon
InheritedData->m_touchAction); } |
| 1022 | 1022 |
| 1023 ScrollBehavior getScrollBehavior() const { return static_cast<ScrollBehavior
>(rareNonInheritedData->m_scrollBehavior); } | 1023 ScrollBehavior getScrollBehavior() const { return static_cast<ScrollBehavior
>(rareNonInheritedData->m_scrollBehavior); } |
| 1024 | 1024 |
| 1025 ScrollSnapType getScrollSnapType() const { return static_cast<ScrollSnapType
>(rareNonInheritedData->m_scrollSnapType); } | 1025 ScrollSnapType getScrollSnapType() const { return static_cast<ScrollSnapType
>(rareNonInheritedData->m_scrollSnapType); } |
| 1026 ScrollSnapPoints scrollSnapPointsX() const { return rareNonInheritedData->m_
scrollSnap->m_xPoints; } | 1026 const ScrollSnapPoints& scrollSnapPointsX() const { return rareNonInheritedD
ata->m_scrollSnap->m_xPoints; } |
| 1027 ScrollSnapPoints scrollSnapPointsY() const { return rareNonInheritedData->m_
scrollSnap->m_yPoints; } | 1027 const ScrollSnapPoints& scrollSnapPointsY() const { return rareNonInheritedD
ata->m_scrollSnap->m_yPoints; } |
| 1028 Vector<LengthPoint> scrollSnapCoordinate() const { return rareNonInheritedDa
ta->m_scrollSnap->m_coordinates; } | 1028 const Vector<LengthPoint>& scrollSnapCoordinate() const { return rareNonInhe
ritedData->m_scrollSnap->m_coordinates; } |
| 1029 LengthPoint scrollSnapDestination() const { return rareNonInheritedData->m_s
crollSnap->m_destination; } | 1029 const LengthPoint& scrollSnapDestination() const { return rareNonInheritedDa
ta->m_scrollSnap->m_destination; } |
| 1030 | 1030 |
| 1031 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } | 1031 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } |
| 1032 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } | 1032 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } |
| 1033 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } | 1033 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } |
| 1034 bool hasWillChangeCompositingHint() const; | 1034 bool hasWillChangeCompositingHint() const; |
| 1035 bool hasWillChangeTransformHint() const; | 1035 bool hasWillChangeTransformHint() const; |
| 1036 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } | 1036 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } |
| 1037 | 1037 |
| 1038 // attribute setter methods | 1038 // attribute setter methods |
| 1039 | 1039 |
| (...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2037 } | 2037 } |
| 2038 | 2038 |
| 2039 inline bool ComputedStyle::hasPseudoElementStyle() const | 2039 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2040 { | 2040 { |
| 2041 return noninherited_flags.pseudoBits & ElementPseudoIdMask; | 2041 return noninherited_flags.pseudoBits & ElementPseudoIdMask; |
| 2042 } | 2042 } |
| 2043 | 2043 |
| 2044 } // namespace blink | 2044 } // namespace blink |
| 2045 | 2045 |
| 2046 #endif // ComputedStyle_h | 2046 #endif // ComputedStyle_h |
| OLD | NEW |