| 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 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1651 static Length InitialLineHeight() { return Length(-100.0, kPercent); } | 1651 static Length InitialLineHeight() { return Length(-100.0, kPercent); } |
| 1652 Length LineHeight() const; | 1652 Length LineHeight() const; |
| 1653 void SetLineHeight(const Length& specified_line_height); | 1653 void SetLineHeight(const Length& specified_line_height); |
| 1654 | 1654 |
| 1655 // List style properties. | 1655 // List style properties. |
| 1656 // list-style-image | 1656 // list-style-image |
| 1657 static StyleImage* InitialListStyleImage() { return 0; } | 1657 static StyleImage* InitialListStyleImage() { return 0; } |
| 1658 StyleImage* ListStyleImage() const; | 1658 StyleImage* ListStyleImage() const; |
| 1659 void SetListStyleImage(StyleImage*); | 1659 void SetListStyleImage(StyleImage*); |
| 1660 | 1660 |
| 1661 // overflow-wrap (aka word-wrap) | |
| 1662 static EOverflowWrap InitialOverflowWrap() { return EOverflowWrap::kNormal; } | |
| 1663 EOverflowWrap OverflowWrap() const { | |
| 1664 return static_cast<EOverflowWrap>(rare_inherited_data_->overflow_wrap_); | |
| 1665 } | |
| 1666 void SetOverflowWrap(EOverflowWrap b) { | |
| 1667 SET_VAR(rare_inherited_data_, overflow_wrap_, static_cast<unsigned>(b)); | |
| 1668 } | |
| 1669 | |
| 1670 // quotes | 1661 // quotes |
| 1671 static QuotesData* InitialQuotes() { return 0; } | 1662 static QuotesData* InitialQuotes() { return 0; } |
| 1672 QuotesData* Quotes() const { return rare_inherited_data_->quotes_.Get(); } | 1663 QuotesData* Quotes() const { return rare_inherited_data_->quotes_.Get(); } |
| 1673 void SetQuotes(RefPtr<QuotesData>); | 1664 void SetQuotes(RefPtr<QuotesData>); |
| 1674 | 1665 |
| 1675 bool QuotesDataEquivalent(const ComputedStyle&) const; | 1666 bool QuotesDataEquivalent(const ComputedStyle&) const; |
| 1676 | 1667 |
| 1677 // speak | 1668 // speak |
| 1678 static ESpeak InitialSpeak() { return ESpeak::kNormal; } | 1669 static ESpeak InitialSpeak() { return ESpeak::kNormal; } |
| 1679 ESpeak Speak() const { | 1670 ESpeak Speak() const { |
| (...skipping 2099 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3779 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3770 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3780 } | 3771 } |
| 3781 | 3772 |
| 3782 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3773 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3783 return PseudoBitsInternal() & kElementPseudoIdMask; | 3774 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3784 } | 3775 } |
| 3785 | 3776 |
| 3786 } // namespace blink | 3777 } // namespace blink |
| 3787 | 3778 |
| 3788 #endif // ComputedStyle_h | 3779 #endif // ComputedStyle_h |
| OLD | NEW |