| 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 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 LayoutBoxExtent getBoxShadowInsetExtent() const { return getShadowInsetExten
t(boxShadow()); } | 811 LayoutBoxExtent getBoxShadowInsetExtent() const { return getShadowInsetExten
t(boxShadow()); } |
| 812 void getBoxShadowHorizontalExtent(LayoutUnit& left, LayoutUnit& right) const
{ getShadowHorizontalExtent(boxShadow(), left, right); } | 812 void getBoxShadowHorizontalExtent(LayoutUnit& left, LayoutUnit& right) const
{ getShadowHorizontalExtent(boxShadow(), left, right); } |
| 813 void getBoxShadowVerticalExtent(LayoutUnit& top, LayoutUnit& bottom) const {
getShadowVerticalExtent(boxShadow(), top, bottom); } | 813 void getBoxShadowVerticalExtent(LayoutUnit& top, LayoutUnit& bottom) const {
getShadowVerticalExtent(boxShadow(), top, bottom); } |
| 814 void getBoxShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit&
logicalRight) { getShadowInlineDirectionExtent(boxShadow(), logicalLeft, logical
Right); } | 814 void getBoxShadowInlineDirectionExtent(LayoutUnit& logicalLeft, LayoutUnit&
logicalRight) { getShadowInlineDirectionExtent(boxShadow(), logicalLeft, logical
Right); } |
| 815 void getBoxShadowBlockDirectionExtent(LayoutUnit& logicalTop, LayoutUnit& lo
gicalBottom) { getShadowBlockDirectionExtent(boxShadow(), logicalTop, logicalBot
tom); } | 815 void getBoxShadowBlockDirectionExtent(LayoutUnit& logicalTop, LayoutUnit& lo
gicalBottom) { getShadowBlockDirectionExtent(boxShadow(), logicalTop, logicalBot
tom); } |
| 816 | 816 |
| 817 EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration
Break(); } | 817 EBoxDecorationBreak boxDecorationBreak() const { return m_box->boxDecoration
Break(); } |
| 818 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl
ect.get(); } | 818 StyleReflection* boxReflect() const { return rareNonInheritedData->m_boxRefl
ect.get(); } |
| 819 bool reflectionDataEquivalent(const RenderStyle* otherStyle) const { return
rareNonInheritedData->reflectionDataEquivalent(*otherStyle->rareNonInheritedData
); } | 819 bool reflectionDataEquivalent(const RenderStyle* otherStyle) const { return
rareNonInheritedData->reflectionDataEquivalent(*otherStyle->rareNonInheritedData
); } |
| 820 | 820 |
| 821 // FIXME: reflections should belong to this helper function but they are cur
rently handled |
| 822 // through their self-painting layers. So the rendering code doesn't account
for them. |
| 823 bool hasVisualOverflowingEffect() const { return boxShadow() || hasBorderIma
geOutsets() || hasOutline(); } |
| 824 |
| 821 EBoxSizing boxSizing() const { return m_box->boxSizing(); } | 825 EBoxSizing boxSizing() const { return m_box->boxSizing(); } |
| 822 const Length& marqueeIncrement() const { return rareNonInheritedData->m_marq
uee->increment; } | 826 const Length& marqueeIncrement() const { return rareNonInheritedData->m_marq
uee->increment; } |
| 823 int marqueeSpeed() const { return rareNonInheritedData->m_marquee->speed; } | 827 int marqueeSpeed() const { return rareNonInheritedData->m_marquee->speed; } |
| 824 int marqueeLoopCount() const { return rareNonInheritedData->m_marquee->loops
; } | 828 int marqueeLoopCount() const { return rareNonInheritedData->m_marquee->loops
; } |
| 825 EMarqueeBehavior marqueeBehavior() const { return static_cast<EMarqueeBehavi
or>(rareNonInheritedData->m_marquee->behavior); } | 829 EMarqueeBehavior marqueeBehavior() const { return static_cast<EMarqueeBehavi
or>(rareNonInheritedData->m_marquee->behavior); } |
| 826 EMarqueeDirection marqueeDirection() const { return static_cast<EMarqueeDire
ction>(rareNonInheritedData->m_marquee->direction); } | 830 EMarqueeDirection marqueeDirection() const { return static_cast<EMarqueeDire
ction>(rareNonInheritedData->m_marquee->direction); } |
| 827 EUserModify userModify() const { return static_cast<EUserModify>(rareInherit
edData->userModify); } | 831 EUserModify userModify() const { return static_cast<EUserModify>(rareInherit
edData->userModify); } |
| 828 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD
ata->userDrag); } | 832 EUserDrag userDrag() const { return static_cast<EUserDrag>(rareNonInheritedD
ata->userDrag); } |
| 829 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit
edData->userSelect); } | 833 EUserSelect userSelect() const { return static_cast<EUserSelect>(rareInherit
edData->userSelect); } |
| 830 TextOverflow textOverflow() const { return static_cast<TextOverflow>(rareNon
InheritedData->textOverflow); } | 834 TextOverflow textOverflow() const { return static_cast<TextOverflow>(rareNon
InheritedData->textOverflow); } |
| (...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1882 inline bool RenderStyle::hasPseudoElementStyle() const | 1886 inline bool RenderStyle::hasPseudoElementStyle() const |
| 1883 { | 1887 { |
| 1884 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; | 1888 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; |
| 1885 } | 1889 } |
| 1886 | 1890 |
| 1887 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1891 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1888 | 1892 |
| 1889 } // namespace WebCore | 1893 } // namespace WebCore |
| 1890 | 1894 |
| 1891 #endif // RenderStyle_h | 1895 #endif // RenderStyle_h |
| OLD | NEW |