| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 bool hasBorderImageOutsets() const | 431 bool hasBorderImageOutsets() const |
| 432 { | 432 { |
| 433 return borderImage().hasImage() && borderImage().outset().nonZero(); | 433 return borderImage().hasImage() && borderImage().outset().nonZero(); |
| 434 } | 434 } |
| 435 LayoutRectOutsets borderImageOutsets() const | 435 LayoutRectOutsets borderImageOutsets() const |
| 436 { | 436 { |
| 437 return imageOutsets(borderImage()); | 437 return imageOutsets(borderImage()); |
| 438 } | 438 } |
| 439 | 439 |
| 440 bool hasFilterOutsets() const { return hasFilter() && filter().hasOutsets();
} | 440 bool hasFilterOutsets() const { return hasFilter() && filter().hasOutsets();
} |
| 441 FilterOutsets filterOutsets() const { return hasFilter() ? filter().outsets(
) : FilterOutsets(); } | |
| 442 | |
| 443 Order rtlOrdering() const { return static_cast<Order>(inherited_flags.m_rtlO
rdering); } | 441 Order rtlOrdering() const { return static_cast<Order>(inherited_flags.m_rtlO
rdering); } |
| 444 void setRTLOrdering(Order o) { inherited_flags.m_rtlOrdering = o; } | 442 void setRTLOrdering(Order o) { inherited_flags.m_rtlOrdering = o; } |
| 445 | 443 |
| 446 bool isStyleAvailable() const; | 444 bool isStyleAvailable() const; |
| 447 | 445 |
| 448 bool hasAnyPublicPseudoStyles() const; | 446 bool hasAnyPublicPseudoStyles() const; |
| 449 bool hasPseudoStyle(PseudoId) const; | 447 bool hasPseudoStyle(PseudoId) const; |
| 450 void setHasPseudoStyle(PseudoId); | 448 void setHasPseudoStyle(PseudoId); |
| 451 bool hasUniquePseudoStyle() const; | 449 bool hasUniquePseudoStyle() const; |
| 452 bool hasPseudoElementStyle() const; | 450 bool hasPseudoElementStyle() const; |
| (...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1997 } | 1995 } |
| 1998 | 1996 |
| 1999 inline bool ComputedStyle::hasPseudoElementStyle() const | 1997 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2000 { | 1998 { |
| 2001 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1999 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
| 2002 } | 2000 } |
| 2003 | 2001 |
| 2004 } // namespace blink | 2002 } // namespace blink |
| 2005 | 2003 |
| 2006 #endif // ComputedStyle_h | 2004 #endif // ComputedStyle_h |
| OLD | NEW |