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 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 bool operator==(const StyleRareNonInheritedData&) const; | 78 bool operator==(const StyleRareNonInheritedData&) const; |
79 bool operator!=(const StyleRareNonInheritedData& o) const { return !(*this =
= o); } | 79 bool operator!=(const StyleRareNonInheritedData& o) const { return !(*this =
= o); } |
80 | 80 |
81 bool contentDataEquivalent(const StyleRareNonInheritedData&) const; | 81 bool contentDataEquivalent(const StyleRareNonInheritedData&) const; |
82 bool counterDataEquivalent(const StyleRareNonInheritedData&) const; | 82 bool counterDataEquivalent(const StyleRareNonInheritedData&) const; |
83 bool shadowDataEquivalent(const StyleRareNonInheritedData&) const; | 83 bool shadowDataEquivalent(const StyleRareNonInheritedData&) const; |
84 bool reflectionDataEquivalent(const StyleRareNonInheritedData&) const; | 84 bool reflectionDataEquivalent(const StyleRareNonInheritedData&) const; |
85 bool animationDataEquivalent(const StyleRareNonInheritedData&) const; | 85 bool animationDataEquivalent(const StyleRareNonInheritedData&) const; |
86 bool transitionDataEquivalent(const StyleRareNonInheritedData&) const; | 86 bool transitionDataEquivalent(const StyleRareNonInheritedData&) const; |
| 87 bool hasFilters() const; |
| 88 bool hasOpacity() const { return opacity < 1; } |
87 | 89 |
88 float opacity; // Whether or not we're transparent. | 90 float opacity; // Whether or not we're transparent. |
89 | 91 |
90 float m_aspectRatioDenominator; | 92 float m_aspectRatioDenominator; |
91 float m_aspectRatioNumerator; | 93 float m_aspectRatioNumerator; |
92 | 94 |
93 float m_perspective; | 95 float m_perspective; |
94 Length m_perspectiveOriginX; | 96 Length m_perspectiveOriginX; |
95 Length m_perspectiveOriginY; | 97 Length m_perspectiveOriginY; |
96 | 98 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 unsigned m_objectFit : 3; // ObjectFit | 183 unsigned m_objectFit : 3; // ObjectFit |
182 | 184 |
183 private: | 185 private: |
184 StyleRareNonInheritedData(); | 186 StyleRareNonInheritedData(); |
185 StyleRareNonInheritedData(const StyleRareNonInheritedData&); | 187 StyleRareNonInheritedData(const StyleRareNonInheritedData&); |
186 }; | 188 }; |
187 | 189 |
188 } // namespace WebCore | 190 } // namespace WebCore |
189 | 191 |
190 #endif // StyleRareNonInheritedData_h | 192 #endif // StyleRareNonInheritedData_h |
OLD | NEW |