| 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 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1426 } | 1426 } |
| 1427 LengthPoint objectPosition() const { | 1427 LengthPoint objectPosition() const { |
| 1428 return m_rareNonInheritedData->m_objectPosition; | 1428 return m_rareNonInheritedData->m_objectPosition; |
| 1429 } | 1429 } |
| 1430 void setObjectPosition(LengthPoint position) { | 1430 void setObjectPosition(LengthPoint position) { |
| 1431 SET_VAR(m_rareNonInheritedData, m_objectPosition, position); | 1431 SET_VAR(m_rareNonInheritedData, m_objectPosition, position); |
| 1432 } | 1432 } |
| 1433 | 1433 |
| 1434 // offset-anchor | 1434 // offset-anchor |
| 1435 static LengthPoint initialOffsetAnchor() { | 1435 static LengthPoint initialOffsetAnchor() { |
| 1436 return LengthPoint(Length(50.0, Percent), Length(50.0, Percent)); | 1436 return LengthPoint(Length(Auto), Length(Auto)); |
| 1437 } | 1437 } |
| 1438 const LengthPoint& offsetAnchor() const { | 1438 const LengthPoint& offsetAnchor() const { |
| 1439 return m_rareNonInheritedData->m_transform->m_motion.m_anchor; | 1439 return m_rareNonInheritedData->m_transform->m_motion.m_anchor; |
| 1440 } | 1440 } |
| 1441 void setOffsetAnchor(const LengthPoint& offsetAnchor) { | 1441 void setOffsetAnchor(const LengthPoint& offsetAnchor) { |
| 1442 SET_NESTED_VAR(m_rareNonInheritedData, m_transform, m_motion.m_anchor, | 1442 SET_NESTED_VAR(m_rareNonInheritedData, m_transform, m_motion.m_anchor, |
| 1443 offsetAnchor); | 1443 offsetAnchor); |
| 1444 } | 1444 } |
| 1445 | 1445 |
| 1446 // offset-distance | 1446 // offset-distance |
| (...skipping 2664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4111 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); | 4111 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); |
| 4112 } | 4112 } |
| 4113 | 4113 |
| 4114 inline bool ComputedStyle::hasPseudoElementStyle() const { | 4114 inline bool ComputedStyle::hasPseudoElementStyle() const { |
| 4115 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; | 4115 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; |
| 4116 } | 4116 } |
| 4117 | 4117 |
| 4118 } // namespace blink | 4118 } // namespace blink |
| 4119 | 4119 |
| 4120 #endif // ComputedStyle_h | 4120 #endif // ComputedStyle_h |
| OLD | NEW |