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 | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All |
6 * rights reserved. | 6 * rights reserved. |
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1477 void SetSubtreeIsSticky(bool b) { | 1477 void SetSubtreeIsSticky(bool b) { |
1478 SET_VAR(rare_inherited_data_, subtree_is_sticky_, b); | 1478 SET_VAR(rare_inherited_data_, subtree_is_sticky_, b); |
1479 } | 1479 } |
1480 | 1480 |
1481 // Text decoration properties. | 1481 // Text decoration properties. |
1482 // text-decoration-line | 1482 // text-decoration-line |
1483 static TextDecoration InitialTextDecoration() { | 1483 static TextDecoration InitialTextDecoration() { |
1484 return TextDecoration::kNone; | 1484 return TextDecoration::kNone; |
1485 } | 1485 } |
1486 TextDecoration GetTextDecoration() const { | 1486 TextDecoration GetTextDecoration() const { |
1487 return static_cast<TextDecoration>(GetTextDecorationInternal()); | 1487 return static_cast<TextDecoration>(TextDecorationInternal()); |
1488 } | 1488 } |
1489 void SetTextDecoration(TextDecoration v) { SetTextDecorationInternal(v); } | 1489 void SetTextDecoration(TextDecoration v) { SetTextDecorationInternal(v); } |
1490 | 1490 |
1491 // text-decoration-color | 1491 // text-decoration-color |
1492 void SetTextDecorationColor(const StyleColor& c) { | 1492 void SetTextDecorationColor(const StyleColor& c) { |
1493 SET_VAR(rare_non_inherited_data_, text_decoration_color_, c); | 1493 SET_VAR(rare_non_inherited_data_, text_decoration_color_, c); |
1494 } | 1494 } |
1495 | 1495 |
1496 // text-decoration-style | 1496 // text-decoration-style |
1497 static TextDecorationStyle InitialTextDecorationStyle() { | 1497 static TextDecorationStyle InitialTextDecorationStyle() { |
(...skipping 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3798 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3798 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
3799 } | 3799 } |
3800 | 3800 |
3801 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3801 inline bool ComputedStyle::HasPseudoElementStyle() const { |
3802 return PseudoBitsInternal() & kElementPseudoIdMask; | 3802 return PseudoBitsInternal() & kElementPseudoIdMask; |
3803 } | 3803 } |
3804 | 3804 |
3805 } // namespace blink | 3805 } // namespace blink |
3806 | 3806 |
3807 #endif // ComputedStyle_h | 3807 #endif // ComputedStyle_h |
OLD | NEW |