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 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1460 return LengthPoint(Length(Auto), Length(Auto)); | 1460 return LengthPoint(Length(Auto), Length(Auto)); |
1461 } | 1461 } |
1462 const LengthPoint& offsetPosition() const { | 1462 const LengthPoint& offsetPosition() const { |
1463 return m_rareNonInheritedData->m_transform->m_motion.m_position; | 1463 return m_rareNonInheritedData->m_transform->m_motion.m_position; |
1464 } | 1464 } |
1465 void setOffsetPosition(const LengthPoint& offsetPosition) { | 1465 void setOffsetPosition(const LengthPoint& offsetPosition) { |
1466 SET_NESTED_VAR(m_rareNonInheritedData, m_transform, m_motion.m_position, | 1466 SET_NESTED_VAR(m_rareNonInheritedData, m_transform, m_motion.m_position, |
1467 offsetPosition); | 1467 offsetPosition); |
1468 } | 1468 } |
1469 | 1469 |
| 1470 // offset-rotate |
| 1471 static StyleOffsetRotation initialOffsetRotate() { |
| 1472 return initialOffsetRotation(); |
| 1473 } |
| 1474 const StyleOffsetRotation& offsetRotate() const { return offsetRotation(); } |
| 1475 void setOffsetRotate(const StyleOffsetRotation& offsetRotate) { |
| 1476 setOffsetRotation(offsetRotate); |
| 1477 } |
| 1478 |
1470 // offset-rotation | 1479 // offset-rotation |
1471 static StyleOffsetRotation initialOffsetRotation() { | 1480 static StyleOffsetRotation initialOffsetRotation() { |
1472 return StyleOffsetRotation(0, OffsetRotationAuto); | 1481 return StyleOffsetRotation(0, OffsetRotationAuto); |
1473 } | 1482 } |
1474 const StyleOffsetRotation& offsetRotation() const { | 1483 const StyleOffsetRotation& offsetRotation() const { |
1475 return m_rareNonInheritedData->m_transform->m_motion.m_rotation; | 1484 return m_rareNonInheritedData->m_transform->m_motion.m_rotation; |
1476 } | 1485 } |
1477 void setOffsetRotation(const StyleOffsetRotation& offsetRotation) { | 1486 void setOffsetRotation(const StyleOffsetRotation& offsetRotation) { |
1478 SET_NESTED_VAR(m_rareNonInheritedData, m_transform, m_motion.m_rotation, | 1487 SET_NESTED_VAR(m_rareNonInheritedData, m_transform, m_motion.m_rotation, |
1479 offsetRotation); | 1488 offsetRotation); |
(...skipping 2621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4101 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); | 4110 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); |
4102 } | 4111 } |
4103 | 4112 |
4104 inline bool ComputedStyle::hasPseudoElementStyle() const { | 4113 inline bool ComputedStyle::hasPseudoElementStyle() const { |
4105 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 4114 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
4106 } | 4115 } |
4107 | 4116 |
4108 } // namespace blink | 4117 } // namespace blink |
4109 | 4118 |
4110 #endif // ComputedStyle_h | 4119 #endif // ComputedStyle_h |
OLD | NEW |