| 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 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1006 void setIsolation(EIsolation v) { rareNonInheritedData.access()->m_isolation
= v; } | 1006 void setIsolation(EIsolation v) { rareNonInheritedData.access()->m_isolation
= v; } |
| 1007 bool hasIsolation() const { return isolation() != IsolationAuto; } | 1007 bool hasIsolation() const { return isolation() != IsolationAuto; } |
| 1008 | 1008 |
| 1009 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef
tToRightDirection() && isHorizontalWritingMode(); } | 1009 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef
tToRightDirection() && isHorizontalWritingMode(); } |
| 1010 | 1010 |
| 1011 TouchAction getTouchAction() const { return static_cast<TouchAction>(rareNon
InheritedData->m_touchAction); } | 1011 TouchAction getTouchAction() const { return static_cast<TouchAction>(rareNon
InheritedData->m_touchAction); } |
| 1012 | 1012 |
| 1013 ScrollBehavior getScrollBehavior() const { return static_cast<ScrollBehavior
>(rareNonInheritedData->m_scrollBehavior); } | 1013 ScrollBehavior getScrollBehavior() const { return static_cast<ScrollBehavior
>(rareNonInheritedData->m_scrollBehavior); } |
| 1014 | 1014 |
| 1015 ScrollSnapType getScrollSnapType() const { return static_cast<ScrollSnapType
>(rareNonInheritedData->m_scrollSnapType); } | 1015 ScrollSnapType getScrollSnapType() const { return static_cast<ScrollSnapType
>(rareNonInheritedData->m_scrollSnapType); } |
| 1016 ScrollSnapPoints scrollSnapPointsX() const { return rareNonInheritedData->m_
scrollSnap->m_xPoints; } | 1016 const ScrollSnapPoints& scrollSnapPointsX() const { return rareNonInheritedD
ata->m_scrollSnap->m_xPoints; } |
| 1017 ScrollSnapPoints scrollSnapPointsY() const { return rareNonInheritedData->m_
scrollSnap->m_yPoints; } | 1017 const ScrollSnapPoints& scrollSnapPointsY() const { return rareNonInheritedD
ata->m_scrollSnap->m_yPoints; } |
| 1018 Vector<LengthPoint> scrollSnapCoordinate() const { return rareNonInheritedDa
ta->m_scrollSnap->m_coordinates; } | 1018 const Vector<LengthPoint>& scrollSnapCoordinate() const { return rareNonInhe
ritedData->m_scrollSnap->m_coordinates; } |
| 1019 LengthPoint scrollSnapDestination() const { return rareNonInheritedData->m_s
crollSnap->m_destination; } | 1019 const LengthPoint& scrollSnapDestination() const { return rareNonInheritedDa
ta->m_scrollSnap->m_destination; } |
| 1020 | 1020 |
| 1021 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } | 1021 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } |
| 1022 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } | 1022 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } |
| 1023 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } | 1023 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } |
| 1024 bool hasWillChangeCompositingHint() const; | 1024 bool hasWillChangeCompositingHint() const; |
| 1025 bool hasWillChangeTransformHint() const; | 1025 bool hasWillChangeTransformHint() const; |
| 1026 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } | 1026 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } |
| 1027 | 1027 |
| 1028 // attribute setter methods | 1028 // attribute setter methods |
| 1029 | 1029 |
| (...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2027 } | 2027 } |
| 2028 | 2028 |
| 2029 inline bool ComputedStyle::hasPseudoElementStyle() const | 2029 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2030 { | 2030 { |
| 2031 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 2031 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
| 2032 } | 2032 } |
| 2033 | 2033 |
| 2034 } // namespace blink | 2034 } // namespace blink |
| 2035 | 2035 |
| 2036 #endif // ComputedStyle_h | 2036 #endif // ComputedStyle_h |
| OLD | NEW |