| 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 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 722 { | 722 { |
| 723 ASSERT(from); | 723 ASSERT(from); |
| 724 ASSERT(to); | 724 ASSERT(to); |
| 725 | 725 |
| 726 to->cloneDataFromElement(*from); | 726 to->cloneDataFromElement(*from); |
| 727 | 727 |
| 728 to->removeAttribute(SVGNames::xAttr); | 728 to->removeAttribute(SVGNames::xAttr); |
| 729 to->removeAttribute(SVGNames::yAttr); | 729 to->removeAttribute(SVGNames::yAttr); |
| 730 to->removeAttribute(SVGNames::widthAttr); | 730 to->removeAttribute(SVGNames::widthAttr); |
| 731 to->removeAttribute(SVGNames::heightAttr); | 731 to->removeAttribute(SVGNames::heightAttr); |
| 732 to->removeAttribute(SVGNames::hrefAttr); |
| 732 to->removeAttribute(XLinkNames::hrefAttr); | 733 to->removeAttribute(XLinkNames::hrefAttr); |
| 733 } | 734 } |
| 734 | 735 |
| 735 bool SVGUseElement::selfHasRelativeLengths() const | 736 bool SVGUseElement::selfHasRelativeLengths() const |
| 736 { | 737 { |
| 737 if (m_x->currentValue()->isRelative() | 738 if (m_x->currentValue()->isRelative() |
| 738 || m_y->currentValue()->isRelative() | 739 || m_y->currentValue()->isRelative() |
| 739 || m_width->currentValue()->isRelative() | 740 || m_width->currentValue()->isRelative() |
| 740 || m_height->currentValue()->isRelative()) | 741 || m_height->currentValue()->isRelative()) |
| 741 return true; | 742 return true; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 | 817 |
| 817 if (m_resource) | 818 if (m_resource) |
| 818 m_resource->removeClient(this); | 819 m_resource->removeClient(this); |
| 819 | 820 |
| 820 m_resource = resource; | 821 m_resource = resource; |
| 821 if (m_resource) | 822 if (m_resource) |
| 822 m_resource->addClient(this); | 823 m_resource->addClient(this); |
| 823 } | 824 } |
| 824 | 825 |
| 825 } // namespace blink | 826 } // namespace blink |
| OLD | NEW |