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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 bool borderImageSlicesFill() const { return surround->border.image().fill();
} | 498 bool borderImageSlicesFill() const { return surround->border.image().fill();
} |
499 const BorderImageLengthBox& borderImageWidth() const { return surround->bord
er.image().borderSlices(); } | 499 const BorderImageLengthBox& borderImageWidth() const { return surround->bord
er.image().borderSlices(); } |
500 const BorderImageLengthBox& borderImageOutset() const { return surround->bor
der.image().outset(); } | 500 const BorderImageLengthBox& borderImageOutset() const { return surround->bor
der.image().outset(); } |
501 | 501 |
502 const LengthSize& borderTopLeftRadius() const { return surround->border.topL
eft(); } | 502 const LengthSize& borderTopLeftRadius() const { return surround->border.topL
eft(); } |
503 const LengthSize& borderTopRightRadius() const { return surround->border.top
Right(); } | 503 const LengthSize& borderTopRightRadius() const { return surround->border.top
Right(); } |
504 const LengthSize& borderBottomLeftRadius() const { return surround->border.b
ottomLeft(); } | 504 const LengthSize& borderBottomLeftRadius() const { return surround->border.b
ottomLeft(); } |
505 const LengthSize& borderBottomRightRadius() const { return surround->border.
bottomRight(); } | 505 const LengthSize& borderBottomRightRadius() const { return surround->border.
bottomRight(); } |
506 bool hasBorderRadius() const { return surround->border.hasBorderRadius(); } | 506 bool hasBorderRadius() const { return surround->border.hasBorderRadius(); } |
507 | 507 |
508 unsigned borderLeftWidth() const { return surround->border.borderLeftWidth()
; } | 508 int borderLeftWidth() const { return surround->border.borderLeftWidth(); } |
509 EBorderStyle borderLeftStyle() const { return surround->border.left().style(
); } | 509 EBorderStyle borderLeftStyle() const { return surround->border.left().style(
); } |
510 unsigned borderRightWidth() const { return surround->border.borderRightWidth
(); } | 510 int borderRightWidth() const { return surround->border.borderRightWidth(); } |
511 EBorderStyle borderRightStyle() const { return surround->border.right().styl
e(); } | 511 EBorderStyle borderRightStyle() const { return surround->border.right().styl
e(); } |
512 unsigned borderTopWidth() const { return surround->border.borderTopWidth();
} | 512 int borderTopWidth() const { return surround->border.borderTopWidth(); } |
513 EBorderStyle borderTopStyle() const { return surround->border.top().style();
} | 513 EBorderStyle borderTopStyle() const { return surround->border.top().style();
} |
514 unsigned borderBottomWidth() const { return surround->border.borderBottomWid
th(); } | 514 int borderBottomWidth() const { return surround->border.borderBottomWidth();
} |
515 EBorderStyle borderBottomStyle() const { return surround->border.bottom().st
yle(); } | 515 EBorderStyle borderBottomStyle() const { return surround->border.bottom().st
yle(); } |
516 | 516 |
517 unsigned short borderBeforeWidth() const; | 517 unsigned short borderBeforeWidth() const; |
518 unsigned short borderAfterWidth() const; | 518 unsigned short borderAfterWidth() const; |
519 unsigned short borderStartWidth() const; | 519 unsigned short borderStartWidth() const; |
520 unsigned short borderEndWidth() const; | 520 unsigned short borderEndWidth() const; |
521 | 521 |
522 unsigned short outlineSize() const { return max(0, outlineWidth() + outlineO
ffset()); } | 522 unsigned short outlineSize() const { return max(0, outlineWidth() + outlineO
ffset()); } |
523 unsigned short outlineWidth() const | 523 unsigned short outlineWidth() const |
524 { | 524 { |
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 } | 1915 } |
1916 | 1916 |
1917 inline bool ComputedStyle::hasPseudoElementStyle() const | 1917 inline bool ComputedStyle::hasPseudoElementStyle() const |
1918 { | 1918 { |
1919 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1919 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1920 } | 1920 } |
1921 | 1921 |
1922 } // namespace blink | 1922 } // namespace blink |
1923 | 1923 |
1924 #endif // ComputedStyle_h | 1924 #endif // ComputedStyle_h |
OLD | NEW |