| 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 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 813 | 813 |
| 814 // shape-outside (aka -webkit-shape-outside) | 814 // shape-outside (aka -webkit-shape-outside) |
| 815 static ShapeValue* InitialShapeOutside() { return 0; } | 815 static ShapeValue* InitialShapeOutside() { return 0; } |
| 816 ShapeValue* ShapeOutside() const { return ShapeOutsideInternal().Get(); } | 816 ShapeValue* ShapeOutside() const { return ShapeOutsideInternal().Get(); } |
| 817 void SetShapeOutside(ShapeValue* value) { SetShapeOutsideInternal(value); } | 817 void SetShapeOutside(ShapeValue* value) { SetShapeOutsideInternal(value); } |
| 818 bool ShapeOutsideDataEquivalent(const ComputedStyle& other) const { | 818 bool ShapeOutsideDataEquivalent(const ComputedStyle& other) const { |
| 819 return DataEquivalent(ShapeOutside(), other.ShapeOutside()); | 819 return DataEquivalent(ShapeOutside(), other.ShapeOutside()); |
| 820 } | 820 } |
| 821 | 821 |
| 822 // Text decoration properties. | 822 // Text decoration properties. |
| 823 // text-decoration-line | |
| 824 static TextDecoration InitialTextDecoration() { | |
| 825 return TextDecoration::kNone; | |
| 826 } | |
| 827 TextDecoration GetTextDecoration() const { | |
| 828 return static_cast<TextDecoration>(TextDecorationInternal()); | |
| 829 } | |
| 830 void SetTextDecoration(TextDecoration v) { SetTextDecorationInternal(v); } | |
| 831 | |
| 832 // text-decoration-skip | 823 // text-decoration-skip |
| 833 static TextDecorationSkip InitialTextDecorationSkip() { | 824 static TextDecorationSkip InitialTextDecorationSkip() { |
| 834 return TextDecorationSkip::kObjects; | 825 return TextDecorationSkip::kObjects; |
| 835 } | 826 } |
| 836 TextDecorationSkip GetTextDecorationSkip() const { | 827 TextDecorationSkip GetTextDecorationSkip() const { |
| 837 return TextDecorationSkipInternal(); | 828 return TextDecorationSkipInternal(); |
| 838 } | 829 } |
| 839 void SetTextDecorationSkip(TextDecorationSkip v) { | 830 void SetTextDecorationSkip(TextDecorationSkip v) { |
| 840 SetTextDecorationSkipInternal(v); | 831 SetTextDecorationSkipInternal(v); |
| 841 } | 832 } |
| (...skipping 1809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2651 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 2642 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 2652 } | 2643 } |
| 2653 | 2644 |
| 2654 inline bool ComputedStyle::HasPseudoElementStyle() const { | 2645 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 2655 return PseudoBitsInternal() & kElementPseudoIdMask; | 2646 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 2656 } | 2647 } |
| 2657 | 2648 |
| 2658 } // namespace blink | 2649 } // namespace blink |
| 2659 | 2650 |
| 2660 #endif // ComputedStyle_h | 2651 #endif // ComputedStyle_h |
| OLD | NEW |