| 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 bool hasBorder() const { return m_surround->border.hasBorder(); } | 420 bool hasBorder() const { return m_surround->border.hasBorder(); } |
| 421 bool hasBorderDecoration() const { return hasBorder() || hasBorderFill(); } | 421 bool hasBorderDecoration() const { return hasBorder() || hasBorderFill(); } |
| 422 bool hasPadding() const { return m_surround->padding.nonZero(); } | 422 bool hasPadding() const { return m_surround->padding.nonZero(); } |
| 423 bool hasMarginBeforeQuirk() const { return marginBefore().quirk(); } | 423 bool hasMarginBeforeQuirk() const { return marginBefore().quirk(); } |
| 424 bool hasMarginAfterQuirk() const { return marginAfter().quirk(); } | 424 bool hasMarginAfterQuirk() const { return marginAfter().quirk(); } |
| 425 | 425 |
| 426 bool hasBackgroundImage() const { return m_background->background().hasImage
(); } | 426 bool hasBackgroundImage() const { return m_background->background().hasImage
(); } |
| 427 bool hasFixedBackgroundImage() const { return m_background->background().has
FixedImage(); } | 427 bool hasFixedBackgroundImage() const { return m_background->background().has
FixedImage(); } |
| 428 | 428 |
| 429 bool hasEntirelyFixedBackground() const; | 429 bool hasEntirelyFixedBackground() const; |
| 430 bool hasEntirelyLocalBackground() const; |
| 430 | 431 |
| 431 bool hasAppearance() const { return appearance() != NoControlPart; } | 432 bool hasAppearance() const { return appearance() != NoControlPart; } |
| 432 | 433 |
| 433 bool hasBackgroundRelatedColorReferencingCurrentColor() const | 434 bool hasBackgroundRelatedColorReferencingCurrentColor() const |
| 434 { | 435 { |
| 435 if (backgroundColor().isCurrentColor() || visitedLinkBackgroundColor().i
sCurrentColor()) | 436 if (backgroundColor().isCurrentColor() || visitedLinkBackgroundColor().i
sCurrentColor()) |
| 436 return true; | 437 return true; |
| 437 if (!boxShadow()) | 438 if (!boxShadow()) |
| 438 return false; | 439 return false; |
| 439 return shadowListHasCurrentColor(boxShadow()); | 440 return shadowListHasCurrentColor(boxShadow()); |
| (...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2063 } | 2064 } |
| 2064 | 2065 |
| 2065 inline bool ComputedStyle::hasPseudoElementStyle() const | 2066 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2066 { | 2067 { |
| 2067 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 2068 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
| 2068 } | 2069 } |
| 2069 | 2070 |
| 2070 } // namespace blink | 2071 } // namespace blink |
| 2071 | 2072 |
| 2072 #endif // ComputedStyle_h | 2073 #endif // ComputedStyle_h |
| OLD | NEW |