| 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 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1426 TextUnderlinePosition GetTextUnderlinePosition() const { | 1426 TextUnderlinePosition GetTextUnderlinePosition() const { |
| 1427 return static_cast<TextUnderlinePosition>( | 1427 return static_cast<TextUnderlinePosition>( |
| 1428 rare_inherited_data_->text_underline_position_); | 1428 rare_inherited_data_->text_underline_position_); |
| 1429 } | 1429 } |
| 1430 void SetTextUnderlinePosition(TextUnderlinePosition v) { | 1430 void SetTextUnderlinePosition(TextUnderlinePosition v) { |
| 1431 SET_VAR(rare_inherited_data_, text_underline_position_, v); | 1431 SET_VAR(rare_inherited_data_, text_underline_position_, v); |
| 1432 } | 1432 } |
| 1433 | 1433 |
| 1434 // text-decoration-skip | 1434 // text-decoration-skip |
| 1435 static TextDecorationSkip InitialTextDecorationSkip() { | 1435 static TextDecorationSkip InitialTextDecorationSkip() { |
| 1436 return kTextDecorationSkipObjects; | 1436 return TextDecorationSkip::kObjects; |
| 1437 } | 1437 } |
| 1438 TextDecorationSkip GetTextDecorationSkip() const { | 1438 TextDecorationSkip GetTextDecorationSkip() const { |
| 1439 return static_cast<TextDecorationSkip>( | 1439 return static_cast<TextDecorationSkip>( |
| 1440 rare_inherited_data_->text_decoration_skip_); | 1440 rare_inherited_data_->text_decoration_skip_); |
| 1441 } | 1441 } |
| 1442 void SetTextDecorationSkip(TextDecorationSkip v) { | 1442 void SetTextDecorationSkip(TextDecorationSkip v) { |
| 1443 SET_VAR(rare_inherited_data_, text_decoration_skip_, v); | 1443 SET_VAR(rare_inherited_data_, text_decoration_skip_, |
| 1444 static_cast<unsigned>(v)); |
| 1444 } | 1445 } |
| 1445 | 1446 |
| 1446 // text-overflow | 1447 // text-overflow |
| 1447 static TextOverflow InitialTextOverflow() { return kTextOverflowClip; } | 1448 static TextOverflow InitialTextOverflow() { return kTextOverflowClip; } |
| 1448 TextOverflow GetTextOverflow() const { | 1449 TextOverflow GetTextOverflow() const { |
| 1449 return static_cast<TextOverflow>(rare_non_inherited_data_->text_overflow); | 1450 return static_cast<TextOverflow>(rare_non_inherited_data_->text_overflow); |
| 1450 } | 1451 } |
| 1451 void SetTextOverflow(TextOverflow overflow) { | 1452 void SetTextOverflow(TextOverflow overflow) { |
| 1452 SET_VAR(rare_non_inherited_data_, text_overflow, overflow); | 1453 SET_VAR(rare_non_inherited_data_, text_overflow, overflow); |
| 1453 } | 1454 } |
| (...skipping 2291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3745 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3746 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3746 } | 3747 } |
| 3747 | 3748 |
| 3748 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3749 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3749 return PseudoBitsInternal() & kElementPseudoIdMask; | 3750 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3750 } | 3751 } |
| 3751 | 3752 |
| 3752 } // namespace blink | 3753 } // namespace blink |
| 3753 | 3754 |
| 3754 #endif // ComputedStyle_h | 3755 #endif // ComputedStyle_h |
| OLD | NEW |