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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration
Break(); } | 820 EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration
Break(); } |
821 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl
ect.get(); } | 821 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl
ect.get(); } |
822 bool reflectionDataEquivalent(const ComputedStyle* otherStyle) const { retur
n rareNonInheritedData->reflectionDataEquivalent(*otherStyle->rareNonInheritedDa
ta); } | 822 bool reflectionDataEquivalent(const ComputedStyle* otherStyle) const { retur
n rareNonInheritedData->reflectionDataEquivalent(*otherStyle->rareNonInheritedDa
ta); } |
823 | 823 |
824 // FIXME: reflections should belong to this helper function but they are cur
rently handled | 824 // FIXME: reflections should belong to this helper function but they are cur
rently handled |
825 // through their self-painting layers. So the layout code doesn't account fo
r them. | 825 // through their self-painting layers. So the layout code doesn't account fo
r them. |
826 bool hasVisualOverflowingEffect() const { return boxShadow() || hasBorderIma
geOutsets() || hasOutline(); } | 826 bool hasVisualOverflowingEffect() const { return boxShadow() || hasBorderIma
geOutsets() || hasOutline(); } |
827 | 827 |
828 Containment contain() const { return static_cast<Containment>(rareNonInherit
edData->m_contain); } | 828 Containment contain() const { return static_cast<Containment>(rareNonInherit
edData->m_contain); } |
829 bool containsPaint() const { return rareNonInheritedData->m_contain & Contai
nsPaint; } | 829 bool containsPaint() const { return rareNonInheritedData->m_contain & Contai
nsPaint; } |
| 830 bool containsLayout() const { return rareNonInheritedData->m_contain & Conta
insLayout; } |
830 | 831 |
831 EBoxSizing boxSizing() const { return m_box->boxSizing(); } | 832 EBoxSizing boxSizing() const { return m_box->boxSizing(); } |
832 EUserModify userModify() const { return static_cast<EUserModify>(rareInherit
edData->userModify); } | 833 EUserModify userModify() const { return static_cast<EUserModify>(rareInherit
edData->userModify); } |
833 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD
ata->userDrag); } | 834 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD
ata->userDrag); } |
834 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit
edData->userSelect); } | 835 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit
edData->userSelect); } |
835 TextOverflow textOverflow() const { return static_cast<TextOverflow>(rareNon
InheritedData->textOverflow); } | 836 TextOverflow textOverflow() const { return static_cast<TextOverflow>(rareNon
InheritedData->textOverflow); } |
836 EMarginCollapse marginBeforeCollapse() const { return static_cast<EMarginCol
lapse>(rareNonInheritedData->marginBeforeCollapse); } | 837 EMarginCollapse marginBeforeCollapse() const { return static_cast<EMarginCol
lapse>(rareNonInheritedData->marginBeforeCollapse); } |
837 EMarginCollapse marginAfterCollapse() const { return static_cast<EMarginColl
apse>(rareNonInheritedData->marginAfterCollapse); } | 838 EMarginCollapse marginAfterCollapse() const { return static_cast<EMarginColl
apse>(rareNonInheritedData->marginAfterCollapse); } |
838 EWordBreak wordBreak() const { return static_cast<EWordBreak>(rareInheritedD
ata->wordBreak); } | 839 EWordBreak wordBreak() const { return static_cast<EWordBreak>(rareInheritedD
ata->wordBreak); } |
839 EOverflowWrap overflowWrap() const { return static_cast<EOverflowWrap>(rareI
nheritedData->overflowWrap); } | 840 EOverflowWrap overflowWrap() const { return static_cast<EOverflowWrap>(rareI
nheritedData->overflowWrap); } |
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2007 } | 2008 } |
2008 | 2009 |
2009 inline bool ComputedStyle::hasPseudoElementStyle() const | 2010 inline bool ComputedStyle::hasPseudoElementStyle() const |
2010 { | 2011 { |
2011 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 2012 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
2012 } | 2013 } |
2013 | 2014 |
2014 } // namespace blink | 2015 } // namespace blink |
2015 | 2016 |
2016 #endif // ComputedStyle_h | 2017 #endif // ComputedStyle_h |
OLD | NEW |