| 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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl
ect.get(); } | 839 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl
ect.get(); } |
| 840 bool reflectionDataEquivalent(const ComputedStyle* otherStyle) const { retur
n rareNonInheritedData->reflectionDataEquivalent(*otherStyle->rareNonInheritedDa
ta); } | 840 bool reflectionDataEquivalent(const ComputedStyle* otherStyle) const { retur
n rareNonInheritedData->reflectionDataEquivalent(*otherStyle->rareNonInheritedDa
ta); } |
| 841 | 841 |
| 842 // FIXME: reflections should belong to this helper function but they are cur
rently handled | 842 // FIXME: reflections should belong to this helper function but they are cur
rently handled |
| 843 // through their self-painting layers. So the layout code doesn't account fo
r them. | 843 // through their self-painting layers. So the layout code doesn't account fo
r them. |
| 844 bool hasVisualOverflowingEffect() const { return boxShadow() || hasBorderIma
geOutsets() || hasOutline(); } | 844 bool hasVisualOverflowingEffect() const { return boxShadow() || hasBorderIma
geOutsets() || hasOutline(); } |
| 845 | 845 |
| 846 Containment contain() const { return static_cast<Containment>(rareNonInherit
edData->m_contain); } | 846 Containment contain() const { return static_cast<Containment>(rareNonInherit
edData->m_contain); } |
| 847 bool containsPaint() const { return rareNonInheritedData->m_contain & Contai
nsPaint; } | 847 bool containsPaint() const { return rareNonInheritedData->m_contain & Contai
nsPaint; } |
| 848 bool containsStyle() const { return rareNonInheritedData->m_contain & Contai
nsStyle; } | 848 bool containsStyle() const { return rareNonInheritedData->m_contain & Contai
nsStyle; } |
| 849 bool containsLayout() const { return rareNonInheritedData->m_contain & Conta
insLayout; } |
| 849 | 850 |
| 850 EBoxSizing boxSizing() const { return m_box->boxSizing(); } | 851 EBoxSizing boxSizing() const { return m_box->boxSizing(); } |
| 851 EUserModify userModify() const { return static_cast<EUserModify>(rareInherit
edData->userModify); } | 852 EUserModify userModify() const { return static_cast<EUserModify>(rareInherit
edData->userModify); } |
| 852 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD
ata->userDrag); } | 853 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD
ata->userDrag); } |
| 853 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit
edData->userSelect); } | 854 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit
edData->userSelect); } |
| 854 TextOverflow textOverflow() const { return static_cast<TextOverflow>(rareNon
InheritedData->textOverflow); } | 855 TextOverflow textOverflow() const { return static_cast<TextOverflow>(rareNon
InheritedData->textOverflow); } |
| 855 EMarginCollapse marginBeforeCollapse() const { return static_cast<EMarginCol
lapse>(rareNonInheritedData->marginBeforeCollapse); } | 856 EMarginCollapse marginBeforeCollapse() const { return static_cast<EMarginCol
lapse>(rareNonInheritedData->marginBeforeCollapse); } |
| 856 EMarginCollapse marginAfterCollapse() const { return static_cast<EMarginColl
apse>(rareNonInheritedData->marginAfterCollapse); } | 857 EMarginCollapse marginAfterCollapse() const { return static_cast<EMarginColl
apse>(rareNonInheritedData->marginAfterCollapse); } |
| 857 EWordBreak wordBreak() const { return static_cast<EWordBreak>(rareInheritedD
ata->wordBreak); } | 858 EWordBreak wordBreak() const { return static_cast<EWordBreak>(rareInheritedD
ata->wordBreak); } |
| 858 EOverflowWrap overflowWrap() const { return static_cast<EOverflowWrap>(rareI
nheritedData->overflowWrap); } | 859 EOverflowWrap overflowWrap() const { return static_cast<EOverflowWrap>(rareI
nheritedData->overflowWrap); } |
| (...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2023 } | 2024 } |
| 2024 | 2025 |
| 2025 inline bool ComputedStyle::hasPseudoElementStyle() const | 2026 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2026 { | 2027 { |
| 2027 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 2028 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
| 2028 } | 2029 } |
| 2029 | 2030 |
| 2030 } // namespace blink | 2031 } // namespace blink |
| 2031 | 2032 |
| 2032 #endif // ComputedStyle_h | 2033 #endif // ComputedStyle_h |
| OLD | NEW |