| 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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 | 490 |
| 491 // Background properties. | 491 // Background properties. |
| 492 // background-color | 492 // background-color |
| 493 static Color initialBackgroundColor() { return Color::transparent; } | 493 static Color initialBackgroundColor() { return Color::transparent; } |
| 494 void setBackgroundColor(const StyleColor& v) { SET_VAR(m_background, m_color
, v); } | 494 void setBackgroundColor(const StyleColor& v) { SET_VAR(m_background, m_color
, v); } |
| 495 | 495 |
| 496 // background-image | 496 // background-image |
| 497 bool hasBackgroundImage() const { return m_background->background().hasImage
(); } | 497 bool hasBackgroundImage() const { return m_background->background().hasImage
(); } |
| 498 bool hasFixedBackgroundImage() const { return m_background->background().has
FixedImage(); } | 498 bool hasFixedBackgroundImage() const { return m_background->background().has
FixedImage(); } |
| 499 bool hasEntirelyFixedBackground() const; | 499 bool hasEntirelyFixedBackground() const; |
| 500 bool hasEntirelyLocalBackground() const; |
| 500 | 501 |
| 501 // background-clip | 502 // background-clip |
| 502 EFillBox backgroundClip() const { return static_cast<EFillBox>(m_background-
>background().clip()); } | 503 EFillBox backgroundClip() const { return static_cast<EFillBox>(m_background-
>background().clip()); } |
| 503 | 504 |
| 504 // Border properties. | 505 // Border properties. |
| 505 // -webkit-border-image | 506 // -webkit-border-image |
| 506 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } | 507 static NinePieceImage initialNinePieceImage() { return NinePieceImage(); } |
| 507 const NinePieceImage& borderImage() const { return m_surround->border.image(
); } | 508 const NinePieceImage& borderImage() const { return m_surround->border.image(
); } |
| 508 void setBorderImage(const NinePieceImage& b) { SET_VAR(m_surround, border.m_
image, b); } | 509 void setBorderImage(const NinePieceImage& b) { SET_VAR(m_surround, border.m_
image, b); } |
| 509 | 510 |
| (...skipping 2057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2567 } | 2568 } |
| 2568 | 2569 |
| 2569 inline bool ComputedStyle::hasPseudoElementStyle() const | 2570 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2570 { | 2571 { |
| 2571 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 2572 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
| 2572 } | 2573 } |
| 2573 | 2574 |
| 2574 } // namespace blink | 2575 } // namespace blink |
| 2575 | 2576 |
| 2576 #endif // ComputedStyle_h | 2577 #endif // ComputedStyle_h |
| OLD | NEW |