| 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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 const BorderImageLengthBox& borderImageOutset() const { return surround->bor
der.image().outset(); } | 499 const BorderImageLengthBox& borderImageOutset() const { return surround->bor
der.image().outset(); } |
| 500 | 500 |
| 501 const LengthSize& borderTopLeftRadius() const { return surround->border.topL
eft(); } | 501 const LengthSize& borderTopLeftRadius() const { return surround->border.topL
eft(); } |
| 502 const LengthSize& borderTopRightRadius() const { return surround->border.top
Right(); } | 502 const LengthSize& borderTopRightRadius() const { return surround->border.top
Right(); } |
| 503 const LengthSize& borderBottomLeftRadius() const { return surround->border.b
ottomLeft(); } | 503 const LengthSize& borderBottomLeftRadius() const { return surround->border.b
ottomLeft(); } |
| 504 const LengthSize& borderBottomRightRadius() const { return surround->border.
bottomRight(); } | 504 const LengthSize& borderBottomRightRadius() const { return surround->border.
bottomRight(); } |
| 505 bool hasBorderRadius() const { return surround->border.hasBorderRadius(); } | 505 bool hasBorderRadius() const { return surround->border.hasBorderRadius(); } |
| 506 | 506 |
| 507 unsigned borderLeftWidth() const { return surround->border.borderLeftWidth()
; } | 507 unsigned borderLeftWidth() const { return surround->border.borderLeftWidth()
; } |
| 508 EBorderStyle borderLeftStyle() const { return surround->border.left().style(
); } | 508 EBorderStyle borderLeftStyle() const { return surround->border.left().style(
); } |
| 509 bool borderLeftIsTransparent() const { return surround->border.left().isTran
sparent(); } | |
| 510 unsigned borderRightWidth() const { return surround->border.borderRightWidth
(); } | 509 unsigned borderRightWidth() const { return surround->border.borderRightWidth
(); } |
| 511 EBorderStyle borderRightStyle() const { return surround->border.right().styl
e(); } | 510 EBorderStyle borderRightStyle() const { return surround->border.right().styl
e(); } |
| 512 bool borderRightIsTransparent() const { return surround->border.right().isTr
ansparent(); } | |
| 513 unsigned borderTopWidth() const { return surround->border.borderTopWidth();
} | 511 unsigned borderTopWidth() const { return surround->border.borderTopWidth();
} |
| 514 EBorderStyle borderTopStyle() const { return surround->border.top().style();
} | 512 EBorderStyle borderTopStyle() const { return surround->border.top().style();
} |
| 515 bool borderTopIsTransparent() const { return surround->border.top().isTransp
arent(); } | |
| 516 unsigned borderBottomWidth() const { return surround->border.borderBottomWid
th(); } | 513 unsigned borderBottomWidth() const { return surround->border.borderBottomWid
th(); } |
| 517 EBorderStyle borderBottomStyle() const { return surround->border.bottom().st
yle(); } | 514 EBorderStyle borderBottomStyle() const { return surround->border.bottom().st
yle(); } |
| 518 bool borderBottomIsTransparent() const { return surround->border.bottom().is
Transparent(); } | |
| 519 | 515 |
| 520 unsigned short borderBeforeWidth() const; | 516 unsigned short borderBeforeWidth() const; |
| 521 unsigned short borderAfterWidth() const; | 517 unsigned short borderAfterWidth() const; |
| 522 unsigned short borderStartWidth() const; | 518 unsigned short borderStartWidth() const; |
| 523 unsigned short borderEndWidth() const; | 519 unsigned short borderEndWidth() const; |
| 524 | 520 |
| 525 unsigned short outlineSize() const { return max(0, outlineWidth() + outlineO
ffset()); } | 521 unsigned short outlineSize() const { return max(0, outlineWidth() + outlineO
ffset()); } |
| 526 unsigned short outlineWidth() const | 522 unsigned short outlineWidth() const |
| 527 { | 523 { |
| 528 if (m_background->outline().style() == BNONE) | 524 if (m_background->outline().style() == BNONE) |
| (...skipping 1388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1917 } | 1913 } |
| 1918 | 1914 |
| 1919 inline bool ComputedStyle::hasPseudoElementStyle() const | 1915 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 1920 { | 1916 { |
| 1921 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1917 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
| 1922 } | 1918 } |
| 1923 | 1919 |
| 1924 } // namespace blink | 1920 } // namespace blink |
| 1925 | 1921 |
| 1926 #endif // ComputedStyle_h | 1922 #endif // ComputedStyle_h |
| OLD | NEW |