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