| 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 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 TranslateTransformOperation* translate() const { return rareNonInheritedData
->m_transform->m_translate.get(); } | 901 TranslateTransformOperation* translate() const { return rareNonInheritedData
->m_transform->m_translate.get(); } |
| 902 RotateTransformOperation* rotate() const { return rareNonInheritedData->m_tr
ansform->m_rotate.get(); } | 902 RotateTransformOperation* rotate() const { return rareNonInheritedData->m_tr
ansform->m_rotate.get(); } |
| 903 ScaleTransformOperation* scale() const { return rareNonInheritedData->m_tran
sform->m_scale.get(); } | 903 ScaleTransformOperation* scale() const { return rareNonInheritedData->m_tran
sform->m_scale.get(); } |
| 904 float transformOriginZ() const { return transformOrigin().z(); } | 904 float transformOriginZ() const { return transformOrigin().z(); } |
| 905 bool has3DTransform() const { return rareNonInheritedData->m_transform->has3
DTransform(); } | 905 bool has3DTransform() const { return rareNonInheritedData->m_transform->has3
DTransform(); } |
| 906 bool hasTransform() const { return hasTransformOperations() || hasMotionPath
() || hasCurrentTransformAnimation() || translate() || rotate() || scale(); } | 906 bool hasTransform() const { return hasTransformOperations() || hasMotionPath
() || hasCurrentTransformAnimation() || translate() || rotate() || scale(); } |
| 907 bool hasTransformOperations() const { return !rareNonInheritedData->m_transf
orm->m_operations.operations().isEmpty(); } | 907 bool hasTransformOperations() const { return !rareNonInheritedData->m_transf
orm->m_operations.operations().isEmpty(); } |
| 908 bool transformDataEquivalent(const ComputedStyle& otherStyle) const { return
rareNonInheritedData->m_transform == otherStyle.rareNonInheritedData->m_transfo
rm; } | 908 bool transformDataEquivalent(const ComputedStyle& otherStyle) const { return
rareNonInheritedData->m_transform == otherStyle.rareNonInheritedData->m_transfo
rm; } |
| 909 | 909 |
| 910 StylePath* motionPath() const { return rareNonInheritedData->m_transform->m_
motion.m_path.get(); } | 910 StylePath* motionPath() const { return rareNonInheritedData->m_transform->m_
motion.m_path.get(); } |
| 911 bool hasMotionPath() const { return rareNonInheritedData->m_transform->m_mot
ion.m_path; } | 911 bool hasMotionPath() const { return motionPath(); } |
| 912 const Length& motionOffset() const { return rareNonInheritedData->m_transfor
m->m_motion.m_offset; } | 912 const Length& motionOffset() const { return rareNonInheritedData->m_transfor
m->m_motion.m_offset; } |
| 913 const StyleMotionRotation& motionRotation() const { return rareNonInheritedD
ata->m_transform->m_motion.m_rotation; } | 913 const StyleMotionRotation& motionRotation() const { return rareNonInheritedD
ata->m_transform->m_motion.m_rotation; } |
| 914 | 914 |
| 915 TextEmphasisFill getTextEmphasisFill() const { return static_cast<TextEmphas
isFill>(rareInheritedData->textEmphasisFill); } | 915 TextEmphasisFill getTextEmphasisFill() const { return static_cast<TextEmphas
isFill>(rareInheritedData->textEmphasisFill); } |
| 916 TextEmphasisMark getTextEmphasisMark() const; | 916 TextEmphasisMark getTextEmphasisMark() const; |
| 917 const AtomicString& textEmphasisCustomMark() const { return rareInheritedDat
a->textEmphasisCustomMark; } | 917 const AtomicString& textEmphasisCustomMark() const { return rareInheritedDat
a->textEmphasisCustomMark; } |
| 918 TextEmphasisPosition getTextEmphasisPosition() const { return static_cast<Te
xtEmphasisPosition>(rareInheritedData->textEmphasisPosition); } | 918 TextEmphasisPosition getTextEmphasisPosition() const { return static_cast<Te
xtEmphasisPosition>(rareInheritedData->textEmphasisPosition); } |
| 919 const AtomicString& textEmphasisMarkString() const; | 919 const AtomicString& textEmphasisMarkString() const; |
| 920 | 920 |
| 921 RubyPosition getRubyPosition() const { return static_cast<RubyPosition>(rare
InheritedData->m_rubyPosition); } | 921 RubyPosition getRubyPosition() const { return static_cast<RubyPosition>(rare
InheritedData->m_rubyPosition); } |
| (...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2025 } | 2025 } |
| 2026 | 2026 |
| 2027 inline bool ComputedStyle::hasPseudoElementStyle() const | 2027 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2028 { | 2028 { |
| 2029 return noninherited_flags.pseudoBits & ElementPseudoIdMask; | 2029 return noninherited_flags.pseudoBits & ElementPseudoIdMask; |
| 2030 } | 2030 } |
| 2031 | 2031 |
| 2032 } // namespace blink | 2032 } // namespace blink |
| 2033 | 2033 |
| 2034 #endif // ComputedStyle_h | 2034 #endif // ComputedStyle_h |
| OLD | NEW |