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 3249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3260 const LayoutSize& border_box_data_size, | 3260 const LayoutSize& border_box_data_size, |
3261 ApplyTransformOrigin, | 3261 ApplyTransformOrigin, |
3262 ApplyMotionPath, | 3262 ApplyMotionPath, |
3263 ApplyIndependentTransformProperties) const; | 3263 ApplyIndependentTransformProperties) const; |
3264 void ApplyTransform(TransformationMatrix&, | 3264 void ApplyTransform(TransformationMatrix&, |
3265 const FloatRect& bounding_box, | 3265 const FloatRect& bounding_box, |
3266 ApplyTransformOrigin, | 3266 ApplyTransformOrigin, |
3267 ApplyMotionPath, | 3267 ApplyMotionPath, |
3268 ApplyIndependentTransformProperties) const; | 3268 ApplyIndependentTransformProperties) const; |
3269 | 3269 |
| 3270 bool HasFilters() const; |
| 3271 |
3270 // Returns |true| if any property that renders using filter operations is | 3272 // Returns |true| if any property that renders using filter operations is |
3271 // used (including, but not limited to, 'filter' and 'box-reflect'). | 3273 // used (including, but not limited to, 'filter' and 'box-reflect'). |
3272 bool HasFilterInducingProperty() const { | 3274 bool HasFilterInducingProperty() const { |
3273 return HasFilter() || HasBoxReflect(); | 3275 return HasFilter() || HasBoxReflect(); |
3274 } | 3276 } |
3275 | 3277 |
3276 // Returns |true| if opacity should be considered to have non-initial value | 3278 // Returns |true| if opacity should be considered to have non-initial value |
3277 // for the purpose of creating stacking contexts. | 3279 // for the purpose of creating stacking contexts. |
3278 bool HasNonInitialOpacity() const { | 3280 bool HasNonInitialOpacity() const { |
3279 return HasOpacity() || HasWillChangeOpacityHint() || | 3281 return HasOpacity() || HasWillChangeOpacityHint() || |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3798 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); | 3800 PseudoBitsInternal() | 1 << (pseudo - kFirstPublicPseudoId))); |
3799 } | 3801 } |
3800 | 3802 |
3801 inline bool ComputedStyle::HasPseudoElementStyle() const { | 3803 inline bool ComputedStyle::HasPseudoElementStyle() const { |
3802 return PseudoBitsInternal() & kElementPseudoIdMask; | 3804 return PseudoBitsInternal() & kElementPseudoIdMask; |
3803 } | 3805 } |
3804 | 3806 |
3805 } // namespace blink | 3807 } // namespace blink |
3806 | 3808 |
3807 #endif // ComputedStyle_h | 3809 #endif // ComputedStyle_h |
OLD | NEW |