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 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2212 // See CSS 2.1, Appendix E (https://www.w3.org/TR/CSS21/zindex.html) for more | 2212 // See CSS 2.1, Appendix E (https://www.w3.org/TR/CSS21/zindex.html) for more |
2213 // details. | 2213 // details. |
2214 bool IsStackingContext() const { | 2214 bool IsStackingContext() const { |
2215 return rare_non_inherited_data_->is_stacking_context_; | 2215 return rare_non_inherited_data_->is_stacking_context_; |
2216 } | 2216 } |
2217 void SetIsStackingContext(bool b) { | 2217 void SetIsStackingContext(bool b) { |
2218 SET_VAR(rare_non_inherited_data_, is_stacking_context_, b); | 2218 SET_VAR(rare_non_inherited_data_, is_stacking_context_, b); |
2219 } | 2219 } |
2220 | 2220 |
2221 float TextAutosizingMultiplier() const { | 2221 float TextAutosizingMultiplier() const { |
2222 return inherited_data_->text_autosizing_multiplier_; | 2222 return TextAutosizingMultiplierInternal(); |
2223 } | 2223 } |
2224 void SetTextAutosizingMultiplier(float); | 2224 void SetTextAutosizingMultiplier(float); |
2225 | 2225 |
2226 bool SelfOrAncestorHasDirAutoAttribute() const { | 2226 bool SelfOrAncestorHasDirAutoAttribute() const { |
2227 return rare_inherited_data_->self_or_ancestor_has_dir_auto_attribute_; | 2227 return rare_inherited_data_->self_or_ancestor_has_dir_auto_attribute_; |
2228 } | 2228 } |
2229 void SetSelfOrAncestorHasDirAutoAttribute(bool v) { | 2229 void SetSelfOrAncestorHasDirAutoAttribute(bool v) { |
2230 SET_VAR(rare_inherited_data_, self_or_ancestor_has_dir_auto_attribute_, v); | 2230 SET_VAR(rare_inherited_data_, self_or_ancestor_has_dir_auto_attribute_, v); |
2231 } | 2231 } |
2232 | 2232 |
(...skipping 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3778 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3778 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
3779 } | 3779 } |
3780 | 3780 |
3781 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3781 inline bool ComputedStyle::HasPseudoElementStyle() const { |
3782 return PseudoBitsInternal() & kElementPseudoIdMask; | 3782 return PseudoBitsInternal() & kElementPseudoIdMask; |
3783 } | 3783 } |
3784 | 3784 |
3785 } // namespace blink | 3785 } // namespace blink |
3786 | 3786 |
3787 #endif // ComputedStyle_h | 3787 #endif // ComputedStyle_h |
OLD | NEW |