| 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, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
| 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2009 Cameron McCormack <cam@mcc.id.au> |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 ASSERT(isConnected() || !hasRelativeLengths()); | 76 ASSERT(isConnected() || !hasRelativeLengths()); |
| 77 } | 77 } |
| 78 | 78 |
| 79 void SVGElement::detach(const AttachContext& context) | 79 void SVGElement::detach(const AttachContext& context) |
| 80 { | 80 { |
| 81 Element::detach(context); | 81 Element::detach(context); |
| 82 if (SVGElement* element = correspondingElement()) | 82 if (SVGElement* element = correspondingElement()) |
| 83 element->removeInstanceMapping(this); | 83 element->removeInstanceMapping(this); |
| 84 } | 84 } |
| 85 | 85 |
| 86 void SVGElement::attach(const AttachContext& context) | 86 void SVGElement::attachLayoutTree(const AttachContext& context) |
| 87 { | 87 { |
| 88 Element::attach(context); | 88 Element::attachLayoutTree(context); |
| 89 if (SVGElement* element = correspondingElement()) | 89 if (SVGElement* element = correspondingElement()) |
| 90 element->mapInstanceToElement(this); | 90 element->mapInstanceToElement(this); |
| 91 } | 91 } |
| 92 | 92 |
| 93 short SVGElement::tabIndex() const | 93 short SVGElement::tabIndex() const |
| 94 { | 94 { |
| 95 if (supportsFocus()) | 95 if (supportsFocus()) |
| 96 return Element::tabIndex(); | 96 return Element::tabIndex(); |
| 97 return -1; | 97 return -1; |
| 98 } | 98 } |
| (...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 Element::trace(visitor); | 1169 Element::trace(visitor); |
| 1170 } | 1170 } |
| 1171 | 1171 |
| 1172 const AtomicString& SVGElement::eventParameterName() | 1172 const AtomicString& SVGElement::eventParameterName() |
| 1173 { | 1173 { |
| 1174 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); | 1174 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt")); |
| 1175 return evtString; | 1175 return evtString; |
| 1176 } | 1176 } |
| 1177 | 1177 |
| 1178 } // namespace blink | 1178 } // namespace blink |
| OLD | NEW |