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 2821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2832 // A unique style is one that has matches something that makes it impossible | 2832 // A unique style is one that has matches something that makes it impossible |
2833 // to share. | 2833 // to share. |
2834 bool unique() const { return m_nonInheritedData.m_unique; } | 2834 bool unique() const { return m_nonInheritedData.m_unique; } |
2835 void setUnique() { m_nonInheritedData.m_unique = true; } | 2835 void setUnique() { m_nonInheritedData.m_unique = true; } |
2836 | 2836 |
2837 float textAutosizingMultiplier() const { | 2837 float textAutosizingMultiplier() const { |
2838 return m_styleInheritedData->textAutosizingMultiplier; | 2838 return m_styleInheritedData->textAutosizingMultiplier; |
2839 } | 2839 } |
2840 void setTextAutosizingMultiplier(float); | 2840 void setTextAutosizingMultiplier(float); |
2841 | 2841 |
2842 unsigned textAutosizingFingerPrint() const { | |
skobes
2016/11/09 03:11:39
capitalize as "textAutosizingFingerprint" (since f
cathiechentx
2016/11/09 12:58:46
Done.
| |
2843 return m_styleInheritedData->textAutosizingFingerPrint; | |
2844 } | |
2845 void setTextAutosizingFingerPrint(unsigned); | |
2846 | |
2842 bool selfOrAncestorHasDirAutoAttribute() const { | 2847 bool selfOrAncestorHasDirAutoAttribute() const { |
2843 return m_rareInheritedData->m_selfOrAncestorHasDirAutoAttribute; | 2848 return m_rareInheritedData->m_selfOrAncestorHasDirAutoAttribute; |
2844 } | 2849 } |
2845 void setSelfOrAncestorHasDirAutoAttribute(bool v) { | 2850 void setSelfOrAncestorHasDirAutoAttribute(bool v) { |
2846 SET_VAR(m_rareInheritedData, m_selfOrAncestorHasDirAutoAttribute, v); | 2851 SET_VAR(m_rareInheritedData, m_selfOrAncestorHasDirAutoAttribute, v); |
2847 } | 2852 } |
2848 | 2853 |
2849 // Animation flags. | 2854 // Animation flags. |
2850 bool hasCurrentOpacityAnimation() const { | 2855 bool hasCurrentOpacityAnimation() const { |
2851 return m_rareNonInheritedData->m_hasCurrentOpacityAnimation; | 2856 return m_rareNonInheritedData->m_hasCurrentOpacityAnimation; |
(...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4120 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); | 4125 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); |
4121 } | 4126 } |
4122 | 4127 |
4123 inline bool ComputedStyle::hasPseudoElementStyle() const { | 4128 inline bool ComputedStyle::hasPseudoElementStyle() const { |
4124 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 4129 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
4125 } | 4130 } |
4126 | 4131 |
4127 } // namespace blink | 4132 } // namespace blink |
4128 | 4133 |
4129 #endif // ComputedStyle_h | 4134 #endif // ComputedStyle_h |
OLD | NEW |