| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
| 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. | 5 * Copyright (C) 2011 Torch Mobile (Beijing) Co. Ltd. All rights reserved. |
| 6 * Copyright (C) 2012 University of Szeged | 6 * Copyright (C) 2012 University of Szeged |
| 7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org> | 7 * Copyright (C) 2012 Renata Hodovan <reni@webkit.org> |
| 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 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 { | 732 { |
| 733 ASSERT(from); | 733 ASSERT(from); |
| 734 ASSERT(to); | 734 ASSERT(to); |
| 735 | 735 |
| 736 to->cloneDataFromElement(*from); | 736 to->cloneDataFromElement(*from); |
| 737 | 737 |
| 738 to->removeAttribute(SVGNames::xAttr); | 738 to->removeAttribute(SVGNames::xAttr); |
| 739 to->removeAttribute(SVGNames::yAttr); | 739 to->removeAttribute(SVGNames::yAttr); |
| 740 to->removeAttribute(SVGNames::widthAttr); | 740 to->removeAttribute(SVGNames::widthAttr); |
| 741 to->removeAttribute(SVGNames::heightAttr); | 741 to->removeAttribute(SVGNames::heightAttr); |
| 742 to->removeAttribute(SVGNames::hrefAttr); | |
| 743 to->removeAttribute(XLinkNames::hrefAttr); | 742 to->removeAttribute(XLinkNames::hrefAttr); |
| 744 } | 743 } |
| 745 | 744 |
| 746 bool SVGUseElement::selfHasRelativeLengths() const | 745 bool SVGUseElement::selfHasRelativeLengths() const |
| 747 { | 746 { |
| 748 if (m_x->currentValue()->isRelative() | 747 if (m_x->currentValue()->isRelative() |
| 749 || m_y->currentValue()->isRelative() | 748 || m_y->currentValue()->isRelative() |
| 750 || m_width->currentValue()->isRelative() | 749 || m_width->currentValue()->isRelative() |
| 751 || m_height->currentValue()->isRelative()) | 750 || m_height->currentValue()->isRelative()) |
| 752 return true; | 751 return true; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 | 826 |
| 828 if (m_resource) | 827 if (m_resource) |
| 829 m_resource->removeClient(this); | 828 m_resource->removeClient(this); |
| 830 | 829 |
| 831 m_resource = resource; | 830 m_resource = resource; |
| 832 if (m_resource) | 831 if (m_resource) |
| 833 m_resource->addClient(this); | 832 m_resource->addClient(this); |
| 834 } | 833 } |
| 835 | 834 |
| 836 } // namespace blink | 835 } // namespace blink |
| OLD | NEW |