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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 bool isFloating() const { return noninherited_flags._floating != NoFloat; } | 398 bool isFloating() const { return noninherited_flags._floating != NoFloat; } |
399 bool hasMargin() const { return surround->margin.nonZero(); } | 399 bool hasMargin() const { return surround->margin.nonZero(); } |
400 bool hasBorder() const { return surround->border.hasBorder(); } | 400 bool hasBorder() const { return surround->border.hasBorder(); } |
401 bool hasPadding() const { return surround->padding.nonZero(); } | 401 bool hasPadding() const { return surround->padding.nonZero(); } |
402 bool hasOffset() const { return surround->offset.nonZero(); } | 402 bool hasOffset() const { return surround->offset.nonZero(); } |
403 bool hasMarginBeforeQuirk() const { return marginBefore().quirk(); } | 403 bool hasMarginBeforeQuirk() const { return marginBefore().quirk(); } |
404 bool hasMarginAfterQuirk() const { return marginAfter().quirk(); } | 404 bool hasMarginAfterQuirk() const { return marginAfter().quirk(); } |
405 | 405 |
406 bool hasBackgroundImage() const { return m_background->background().hasImage
(); } | 406 bool hasBackgroundImage() const { return m_background->background().hasImage
(); } |
407 bool hasFixedBackgroundImage() const { return m_background->background().has
FixedImage(); } | 407 bool hasFixedBackgroundImage() const { return m_background->background().has
FixedImage(); } |
| 408 bool backgroundImageNeedsFullRepaintOnContainerWidthChange() const { return
m_background->background().needsFullRepaintOnContainerWidthChange(); } |
| 409 bool backgroundImageNeedsFullRepaintOnContainerHeightChange() const { return
m_background->background().needsFullRepaintOnContainerHeightChange(); } |
408 | 410 |
409 bool hasEntirelyFixedBackground() const; | 411 bool hasEntirelyFixedBackground() const; |
410 | 412 |
411 bool hasAppearance() const { return appearance() != NoControlPart; } | 413 bool hasAppearance() const { return appearance() != NoControlPart; } |
412 | 414 |
413 bool hasBackground() const | 415 bool hasBackground() const |
414 { | 416 { |
415 Color color = visitedDependentColor(CSSPropertyBackgroundColor); | 417 Color color = visitedDependentColor(CSSPropertyBackgroundColor); |
416 if (color.alpha()) | 418 if (color.alpha()) |
417 return true; | 419 return true; |
(...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1877 inline bool RenderStyle::hasPseudoElementStyle() const | 1879 inline bool RenderStyle::hasPseudoElementStyle() const |
1878 { | 1880 { |
1879 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; | 1881 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; |
1880 } | 1882 } |
1881 | 1883 |
1882 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1884 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
1883 | 1885 |
1884 } // namespace WebCore | 1886 } // namespace WebCore |
1885 | 1887 |
1886 #endif // RenderStyle_h | 1888 #endif // RenderStyle_h |
OLD | NEW |