| 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 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1733 | 1733 |
| 1734 // text-shadow | 1734 // text-shadow |
| 1735 static ShadowList* InitialTextShadow() { return 0; } | 1735 static ShadowList* InitialTextShadow() { return 0; } |
| 1736 ShadowList* TextShadow() const { | 1736 ShadowList* TextShadow() const { |
| 1737 return rare_inherited_data_->text_shadow_.Get(); | 1737 return rare_inherited_data_->text_shadow_.Get(); |
| 1738 } | 1738 } |
| 1739 void SetTextShadow(RefPtr<ShadowList>); | 1739 void SetTextShadow(RefPtr<ShadowList>); |
| 1740 | 1740 |
| 1741 bool TextShadowDataEquivalent(const ComputedStyle&) const; | 1741 bool TextShadowDataEquivalent(const ComputedStyle&) const; |
| 1742 | 1742 |
| 1743 // text-size-adjust (aka -webkit-text-size-adjust) | |
| 1744 static TextSizeAdjust InitialTextSizeAdjust() { | |
| 1745 return TextSizeAdjust::AdjustAuto(); | |
| 1746 } | |
| 1747 TextSizeAdjust GetTextSizeAdjust() const { | |
| 1748 return rare_inherited_data_->text_size_adjust_; | |
| 1749 } | |
| 1750 void SetTextSizeAdjust(TextSizeAdjust size_adjust) { | |
| 1751 SET_VAR(rare_inherited_data_, text_size_adjust_, size_adjust); | |
| 1752 } | |
| 1753 | |
| 1754 // -webkit-line-break | 1743 // -webkit-line-break |
| 1755 static LineBreak InitialLineBreak() { return LineBreak::kAuto; } | 1744 static LineBreak InitialLineBreak() { return LineBreak::kAuto; } |
| 1756 LineBreak GetLineBreak() const { | 1745 LineBreak GetLineBreak() const { |
| 1757 return static_cast<LineBreak>(rare_inherited_data_->line_break_); | 1746 return static_cast<LineBreak>(rare_inherited_data_->line_break_); |
| 1758 } | 1747 } |
| 1759 void SetLineBreak(LineBreak b) { | 1748 void SetLineBreak(LineBreak b) { |
| 1760 SET_VAR(rare_inherited_data_, line_break_, static_cast<unsigned>(b)); | 1749 SET_VAR(rare_inherited_data_, line_break_, static_cast<unsigned>(b)); |
| 1761 } | 1750 } |
| 1762 | 1751 |
| 1763 // Text emphasis properties. | 1752 // Text emphasis properties. |
| (...skipping 1964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3728 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3717 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3729 } | 3718 } |
| 3730 | 3719 |
| 3731 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3720 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3732 return PseudoBitsInternal() & kElementPseudoIdMask; | 3721 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3733 } | 3722 } |
| 3734 | 3723 |
| 3735 } // namespace blink | 3724 } // namespace blink |
| 3736 | 3725 |
| 3737 #endif // ComputedStyle_h | 3726 #endif // ComputedStyle_h |
| OLD | NEW |