| 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 r
ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights 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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 | 865 |
| 866 ObjectFit objectFit() const { return static_cast<ObjectFit>(rareNonInherited
Data->m_objectFit); } | 866 ObjectFit objectFit() const { return static_cast<ObjectFit>(rareNonInherited
Data->m_objectFit); } |
| 867 LengthPoint objectPosition() const { return rareNonInheritedData->m_objectPo
sition; } | 867 LengthPoint objectPosition() const { return rareNonInheritedData->m_objectPo
sition; } |
| 868 | 868 |
| 869 // Return true if any transform related property (currently transform/motion
Path, transformStyle3D or perspective) | 869 // Return true if any transform related property (currently transform/motion
Path, transformStyle3D or perspective) |
| 870 // indicates that we are transforming | 870 // indicates that we are transforming |
| 871 bool hasTransformRelatedProperty() const { return hasTransform() || preserve
s3D() || hasPerspective(); } | 871 bool hasTransformRelatedProperty() const { return hasTransform() || preserve
s3D() || hasPerspective(); } |
| 872 | 872 |
| 873 enum ApplyTransformOrigin { IncludeTransformOrigin, ExcludeTransformOrigin }
; | 873 enum ApplyTransformOrigin { IncludeTransformOrigin, ExcludeTransformOrigin }
; |
| 874 enum ApplyMotionPath { IncludeMotionPath, ExcludeMotionPath }; | 874 enum ApplyMotionPath { IncludeMotionPath, ExcludeMotionPath }; |
| 875 void applyTransform(TransformationMatrix&, const LayoutSize& borderBoxSize,
ApplyTransformOrigin = IncludeTransformOrigin, ApplyMotionPath = IncludeMotionPa
th) const; | 875 void applyTransform(TransformationMatrix&, const LayoutSize& borderBoxSize,
ApplyTransformOrigin, ApplyMotionPath) const; |
| 876 void applyTransform(TransformationMatrix&, const FloatRect& boundingBox, App
lyTransformOrigin = IncludeTransformOrigin, ApplyMotionPath = IncludeMotionPath)
const; | 876 void applyTransform(TransformationMatrix&, const FloatRect& boundingBox, App
lyTransformOrigin, ApplyMotionPath) const; |
| 877 | 877 |
| 878 bool hasMask() const { return rareNonInheritedData->m_mask.hasImage() || rar
eNonInheritedData->m_maskBoxImage.hasImage(); } | 878 bool hasMask() const { return rareNonInheritedData->m_mask.hasImage() || rar
eNonInheritedData->m_maskBoxImage.hasImage(); } |
| 879 | 879 |
| 880 TextCombine textCombine() const { return static_cast<TextCombine>(rareNonInh
eritedData->m_textCombine); } | 880 TextCombine textCombine() const { return static_cast<TextCombine>(rareNonInh
eritedData->m_textCombine); } |
| 881 bool hasTextCombine() const { return textCombine() != TextCombineNone; } | 881 bool hasTextCombine() const { return textCombine() != TextCombineNone; } |
| 882 | 882 |
| 883 TabSize tabSize() const { return rareInheritedData->m_tabSize; } | 883 TabSize tabSize() const { return rareInheritedData->m_tabSize; } |
| 884 | 884 |
| 885 // End CSS3 Getters | 885 // End CSS3 Getters |
| 886 | 886 |
| (...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1915 } | 1915 } |
| 1916 | 1916 |
| 1917 inline bool ComputedStyle::hasPseudoElementStyle() const | 1917 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 1918 { | 1918 { |
| 1919 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1919 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
| 1920 } | 1920 } |
| 1921 | 1921 |
| 1922 } // namespace blink | 1922 } // namespace blink |
| 1923 | 1923 |
| 1924 #endif // ComputedStyle_h | 1924 #endif // ComputedStyle_h |
| OLD | NEW |