| 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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 enum ApplyIndependentTransformProperties { IncludeIndependentTransformProper
ties , ExcludeIndependentTransformProperties }; | 942 enum ApplyIndependentTransformProperties { IncludeIndependentTransformProper
ties , ExcludeIndependentTransformProperties }; |
| 943 void applyTransform(TransformationMatrix&, const LayoutSize& borderBoxSize,
ApplyTransformOrigin, ApplyMotionPath, ApplyIndependentTransformProperties) cons
t; | 943 void applyTransform(TransformationMatrix&, const LayoutSize& borderBoxSize,
ApplyTransformOrigin, ApplyMotionPath, ApplyIndependentTransformProperties) cons
t; |
| 944 void applyTransform(TransformationMatrix&, const FloatRect& boundingBox, App
lyTransformOrigin, ApplyMotionPath, ApplyIndependentTransformProperties) const; | 944 void applyTransform(TransformationMatrix&, const FloatRect& boundingBox, App
lyTransformOrigin, ApplyMotionPath, ApplyIndependentTransformProperties) const; |
| 945 bool hasMask() const { return rareNonInheritedData->m_mask.hasImage() || rar
eNonInheritedData->m_maskBoxImage.hasImage(); } | 945 bool hasMask() const { return rareNonInheritedData->m_mask.hasImage() || rar
eNonInheritedData->m_maskBoxImage.hasImage(); } |
| 946 | 946 |
| 947 TextCombine getTextCombine() const { return static_cast<TextCombine>(rareInh
eritedData->m_textCombine); } | 947 TextCombine getTextCombine() const { return static_cast<TextCombine>(rareInh
eritedData->m_textCombine); } |
| 948 bool hasTextCombine() const { return getTextCombine() != TextCombineNone; } | 948 bool hasTextCombine() const { return getTextCombine() != TextCombineNone; } |
| 949 | 949 |
| 950 uint8_t snapHeightPosition() const { return rareInheritedData->m_snapHeightP
osition; } | 950 uint8_t snapHeightPosition() const { return rareInheritedData->m_snapHeightP
osition; } |
| 951 uint8_t snapHeightUnit() const { return rareInheritedData->m_snapHeightUnit;
} | 951 uint8_t snapHeightUnit() const { return rareInheritedData->m_snapHeightUnit;
} |
| 952 LayoutUnit snapWidth() const { return LayoutUnit::fromRawValue(rareNonInheri
tedData->m_snapWidth); } |
| 952 | 953 |
| 953 TabSize getTabSize() const { return rareInheritedData->m_tabSize; } | 954 TabSize getTabSize() const { return rareInheritedData->m_tabSize; } |
| 954 | 955 |
| 955 RespectImageOrientationEnum respectImageOrientation() const { return static_
cast<RespectImageOrientationEnum>(rareInheritedData->m_respectImageOrientation);
} | 956 RespectImageOrientationEnum respectImageOrientation() const { return static_
cast<RespectImageOrientationEnum>(rareInheritedData->m_respectImageOrientation);
} |
| 956 | 957 |
| 957 // End CSS3 Getters | 958 // End CSS3 Getters |
| 958 | 959 |
| 959 // Apple-specific property getter methods | 960 // Apple-specific property getter methods |
| 960 EPointerEvents pointerEvents() const { return static_cast<EPointerEvents>(in
herited_flags._pointerEvents); } | 961 EPointerEvents pointerEvents() const { return static_cast<EPointerEvents>(in
herited_flags._pointerEvents); } |
| 961 const CSSAnimationData* animations() const { return rareNonInheritedData->m_
animations.get(); } | 962 const CSSAnimationData* animations() const { return rareNonInheritedData->m_
animations.get(); } |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit,
f); } | 1446 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit,
f); } |
| 1446 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData,
m_objectPosition, position); } | 1447 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData,
m_objectPosition, position); } |
| 1447 | 1448 |
| 1448 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r
ubyPosition, position); } | 1449 void setRubyPosition(RubyPosition position) { SET_VAR(rareInheritedData, m_r
ubyPosition, position); } |
| 1449 | 1450 |
| 1450 void setFilter(const FilterOperations& ops) { SET_NESTED_VAR(rareNonInherite
dData, m_filter, m_operations, ops); } | 1451 void setFilter(const FilterOperations& ops) { SET_NESTED_VAR(rareNonInherite
dData, m_filter, m_operations, ops); } |
| 1451 void setBackdropFilter(const FilterOperations& ops) { SET_NESTED_VAR(rareNon
InheritedData, m_backdropFilter, m_operations, ops); } | 1452 void setBackdropFilter(const FilterOperations& ops) { SET_NESTED_VAR(rareNon
InheritedData, m_backdropFilter, m_operations, ops); } |
| 1452 | 1453 |
| 1453 void setSnapHeightPosition(uint8_t position) { SET_VAR(rareInheritedData, m_
snapHeightPosition, position); } | 1454 void setSnapHeightPosition(uint8_t position) { SET_VAR(rareInheritedData, m_
snapHeightPosition, position); } |
| 1454 void setSnapHeightUnit(uint8_t unit) { SET_VAR(rareInheritedData, m_snapHeig
htUnit, unit); } | 1455 void setSnapHeightUnit(uint8_t unit) { SET_VAR(rareInheritedData, m_snapHeig
htUnit, unit); } |
| 1456 void setSnapWidth(LayoutUnit unit) { SET_VAR(rareNonInheritedData, m_snapWid
th, unit.rawValue()); } |
| 1455 | 1457 |
| 1456 void setTabSize(TabSize size) { SET_VAR(rareInheritedData, m_tabSize, size);
} | 1458 void setTabSize(TabSize size) { SET_VAR(rareInheritedData, m_tabSize, size);
} |
| 1457 | 1459 |
| 1458 void setRespectImageOrientation(RespectImageOrientationEnum v) { SET_VAR(rar
eInheritedData, m_respectImageOrientation, v); } | 1460 void setRespectImageOrientation(RespectImageOrientationEnum v) { SET_VAR(rar
eInheritedData, m_respectImageOrientation, v); } |
| 1459 | 1461 |
| 1460 // End CSS3 Setters | 1462 // End CSS3 Setters |
| 1461 | 1463 |
| 1462 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl
ow, wrapFlow); } | 1464 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl
ow, wrapFlow); } |
| 1463 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData,
m_wrapThrough, wrapThrough); } | 1465 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData,
m_wrapThrough, wrapThrough); } |
| 1464 | 1466 |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2046 } | 2048 } |
| 2047 | 2049 |
| 2048 inline bool ComputedStyle::hasPseudoElementStyle() const | 2050 inline bool ComputedStyle::hasPseudoElementStyle() const |
| 2049 { | 2051 { |
| 2050 return noninherited_flags.pseudoBits & ElementPseudoIdMask; | 2052 return noninherited_flags.pseudoBits & ElementPseudoIdMask; |
| 2051 } | 2053 } |
| 2052 | 2054 |
| 2053 } // namespace blink | 2055 } // namespace blink |
| 2054 | 2056 |
| 2055 #endif // ComputedStyle_h | 2057 #endif // ComputedStyle_h |
| OLD | NEW |