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 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1142 const CounterDirectives getCounterDirectives(const AtomicString& identifier)
const; | 1142 const CounterDirectives getCounterDirectives(const AtomicString& identifier)
const; |
1143 | 1143 |
1144 QuotesData* quotes() const { return rareInheritedData->quotes.get(); } | 1144 QuotesData* quotes() const { return rareInheritedData->quotes.get(); } |
1145 void setQuotes(PassRefPtr<QuotesData>); | 1145 void setQuotes(PassRefPtr<QuotesData>); |
1146 | 1146 |
1147 const AtomicString& hyphenString() const; | 1147 const AtomicString& hyphenString() const; |
1148 | 1148 |
1149 bool inheritedNotEqual(const RenderStyle*) const; | 1149 bool inheritedNotEqual(const RenderStyle*) const; |
1150 bool inheritedDataShared(const RenderStyle*) const; | 1150 bool inheritedDataShared(const RenderStyle*) const; |
1151 | 1151 |
| 1152 bool requiresOnlyBlockChildren(); |
1152 bool isDisplayReplacedType() const { return isDisplayReplacedType(display())
; } | 1153 bool isDisplayReplacedType() const { return isDisplayReplacedType(display())
; } |
1153 bool isDisplayInlineType() const { return isDisplayInlineType(display()); } | 1154 bool isDisplayInlineType() const { return isDisplayInlineType(display()); } |
1154 bool isOriginalDisplayInlineType() const { return isDisplayInlineType(origin
alDisplay()); } | 1155 bool isOriginalDisplayInlineType() const { return isDisplayInlineType(origin
alDisplay()); } |
1155 bool isDisplayFlexibleBox() const { return isDisplayFlexibleBox(display());
} | 1156 bool isDisplayFlexibleBox() const { return isDisplayFlexibleBox(display());
} |
1156 | 1157 |
1157 // A unique style is one that has matches something that makes it impossible
to share. | 1158 // A unique style is one that has matches something that makes it impossible
to share. |
1158 bool unique() const { return noninherited_flags.unique; } | 1159 bool unique() const { return noninherited_flags.unique; } |
1159 void setUnique() { noninherited_flags.unique = true; } | 1160 void setUnique() { noninherited_flags.unique = true; } |
1160 | 1161 |
1161 bool isSharable() const; | 1162 bool isSharable() const; |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1385 | 1386 |
1386 rareInheritedData.access()->m_textOrientation = textOrientation; | 1387 rareInheritedData.access()->m_textOrientation = textOrientation; |
1387 return true; | 1388 return true; |
1388 } | 1389 } |
1389 | 1390 |
1390 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1391 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
1391 | 1392 |
1392 } // namespace blink | 1393 } // namespace blink |
1393 | 1394 |
1394 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ | 1395 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ |
OLD | NEW |