| 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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 } | 954 } |
| 955 RespectImageOrientationEnum RespectImageOrientation() const { | 955 RespectImageOrientationEnum RespectImageOrientation() const { |
| 956 return static_cast<RespectImageOrientationEnum>( | 956 return static_cast<RespectImageOrientationEnum>( |
| 957 rare_inherited_data_->respect_image_orientation_); | 957 rare_inherited_data_->respect_image_orientation_); |
| 958 } | 958 } |
| 959 void SetRespectImageOrientation(RespectImageOrientationEnum v) { | 959 void SetRespectImageOrientation(RespectImageOrientationEnum v) { |
| 960 SET_VAR(rare_inherited_data_, respect_image_orientation_, v); | 960 SET_VAR(rare_inherited_data_, respect_image_orientation_, v); |
| 961 } | 961 } |
| 962 | 962 |
| 963 // image-rendering | 963 // image-rendering |
| 964 static EImageRendering InitialImageRendering() { return kImageRenderingAuto; } | 964 static EImageRendering InitialImageRendering() { |
| 965 return EImageRendering::kAuto; |
| 966 } |
| 965 EImageRendering ImageRendering() const { | 967 EImageRendering ImageRendering() const { |
| 966 return static_cast<EImageRendering>(rare_inherited_data_->image_rendering_); | 968 return static_cast<EImageRendering>(rare_inherited_data_->image_rendering_); |
| 967 } | 969 } |
| 968 void SetImageRendering(EImageRendering v) { | 970 void SetImageRendering(EImageRendering v) { |
| 969 SET_VAR(rare_inherited_data_, image_rendering_, v); | 971 SET_VAR(rare_inherited_data_, image_rendering_, static_cast<unsigned>(v)); |
| 970 } | 972 } |
| 971 | 973 |
| 972 // isolation | 974 // isolation |
| 973 static EIsolation InitialIsolation() { return kIsolationAuto; } | 975 static EIsolation InitialIsolation() { return kIsolationAuto; } |
| 974 EIsolation Isolation() const { | 976 EIsolation Isolation() const { |
| 975 return static_cast<EIsolation>(rare_non_inherited_data_->isolation_); | 977 return static_cast<EIsolation>(rare_non_inherited_data_->isolation_); |
| 976 } | 978 } |
| 977 void SetIsolation(EIsolation v) { | 979 void SetIsolation(EIsolation v) { |
| 978 rare_non_inherited_data_.Access()->isolation_ = v; | 980 rare_non_inherited_data_.Access()->isolation_ = v; |
| 979 } | 981 } |
| (...skipping 2765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3745 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3747 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
| 3746 } | 3748 } |
| 3747 | 3749 |
| 3748 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3750 inline bool ComputedStyle::HasPseudoElementStyle() const { |
| 3749 return PseudoBitsInternal() & kElementPseudoIdMask; | 3751 return PseudoBitsInternal() & kElementPseudoIdMask; |
| 3750 } | 3752 } |
| 3751 | 3753 |
| 3752 } // namespace blink | 3754 } // namespace blink |
| 3753 | 3755 |
| 3754 #endif // ComputedStyle_h | 3756 #endif // ComputedStyle_h |
| OLD | NEW |