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 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 const AnimationList* animations() const { return rareNonInheritedData->m_ani
mations.get(); } | 880 const AnimationList* animations() const { return rareNonInheritedData->m_ani
mations.get(); } |
881 const AnimationList* transitions() const { return rareNonInheritedData->m_tr
ansitions.get(); } | 881 const AnimationList* transitions() const { return rareNonInheritedData->m_tr
ansitions.get(); } |
882 | 882 |
883 AnimationList* accessAnimations(); | 883 AnimationList* accessAnimations(); |
884 AnimationList* accessTransitions(); | 884 AnimationList* accessTransitions(); |
885 | 885 |
886 bool hasAnimations() const { return rareNonInheritedData->m_animations && ra
reNonInheritedData->m_animations->size() > 0; } | 886 bool hasAnimations() const { return rareNonInheritedData->m_animations && ra
reNonInheritedData->m_animations->size() > 0; } |
887 bool hasTransitions() const { return rareNonInheritedData->m_transitions &&
rareNonInheritedData->m_transitions->size() > 0; } | 887 bool hasTransitions() const { return rareNonInheritedData->m_transitions &&
rareNonInheritedData->m_transitions->size() > 0; } |
888 | 888 |
889 // return the first found Animation (including 'all' transitions) | 889 // return the first found Animation (including 'all' transitions) |
890 const Animation* transitionForProperty(CSSPropertyID) const; | 890 const CSSAnimationData* transitionForProperty(CSSPropertyID) const; |
891 | 891 |
892 ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt
yle3D>(rareNonInheritedData->m_transformStyle3D); } | 892 ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt
yle3D>(rareNonInheritedData->m_transformStyle3D); } |
893 bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D =
= TransformStyle3DPreserve3D; } | 893 bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D =
= TransformStyle3DPreserve3D; } |
894 | 894 |
895 EBackfaceVisibility backfaceVisibility() const { return static_cast<EBackfac
eVisibility>(rareNonInheritedData->m_backfaceVisibility); } | 895 EBackfaceVisibility backfaceVisibility() const { return static_cast<EBackfac
eVisibility>(rareNonInheritedData->m_backfaceVisibility); } |
896 float perspective() const { return rareNonInheritedData->m_perspective; } | 896 float perspective() const { return rareNonInheritedData->m_perspective; } |
897 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0
; } | 897 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0
; } |
898 Length perspectiveOriginX() const { return rareNonInheritedData->m_perspecti
veOriginX; } | 898 Length perspectiveOriginX() const { return rareNonInheritedData->m_perspecti
veOriginX; } |
899 Length perspectiveOriginY() const { return rareNonInheritedData->m_perspecti
veOriginY; } | 899 Length perspectiveOriginY() const { return rareNonInheritedData->m_perspecti
veOriginY; } |
900 LengthSize pageSize() const { return rareNonInheritedData->m_pageSize; } | 900 LengthSize pageSize() const { return rareNonInheritedData->m_pageSize; } |
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1809 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) | 1809 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) |
1810 return false; | 1810 return false; |
1811 | 1811 |
1812 rareInheritedData.access()->m_textOrientation = textOrientation; | 1812 rareInheritedData.access()->m_textOrientation = textOrientation; |
1813 return true; | 1813 return true; |
1814 } | 1814 } |
1815 | 1815 |
1816 } // namespace WebCore | 1816 } // namespace WebCore |
1817 | 1817 |
1818 #endif // RenderStyle_h | 1818 #endif // RenderStyle_h |
OLD | NEW |