| 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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef
tToRightDirection() && isHorizontalWritingMode(); } | 951 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef
tToRightDirection() && isHorizontalWritingMode(); } |
| 952 | 952 |
| 953 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh
eritedData->m_touchAction); } | 953 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh
eritedData->m_touchAction); } |
| 954 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe
lay>(rareInheritedData->m_touchActionDelay); } | 954 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe
lay>(rareInheritedData->m_touchActionDelay); } |
| 955 | 955 |
| 956 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r
areNonInheritedData->m_scrollBehavior); } | 956 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r
areNonInheritedData->m_scrollBehavior); } |
| 957 | 957 |
| 958 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } | 958 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } |
| 959 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } | 959 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } |
| 960 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } | 960 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } |
| 961 bool hasWillChangeCompositingHint() const; |
| 961 | 962 |
| 962 // attribute setter methods | 963 // attribute setter methods |
| 963 | 964 |
| 964 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; } | 965 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; } |
| 965 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay =
v; } | 966 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay =
v; } |
| 966 void setPosition(EPosition v) { noninherited_flags._position = v; } | 967 void setPosition(EPosition v) { noninherited_flags._position = v; } |
| 967 void setFloating(EFloat v) { noninherited_flags._floating = v; } | 968 void setFloating(EFloat v) { noninherited_flags._floating = v; } |
| 968 | 969 |
| 969 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v); } | 970 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v); } |
| 970 void setRight(Length v) { SET_VAR(surround, offset.m_right, v); } | 971 void setRight(Length v) { SET_VAR(surround, offset.m_right, v); } |
| (...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1880 } | 1881 } |
| 1881 | 1882 |
| 1882 inline bool RenderStyle::hasPseudoElementStyle() const | 1883 inline bool RenderStyle::hasPseudoElementStyle() const |
| 1883 { | 1884 { |
| 1884 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; | 1885 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; |
| 1885 } | 1886 } |
| 1886 | 1887 |
| 1887 } // namespace WebCore | 1888 } // namespace WebCore |
| 1888 | 1889 |
| 1889 #endif // RenderStyle_h | 1890 #endif // RenderStyle_h |
| OLD | NEW |