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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 if (hasSVGRareData()) | 237 if (hasSVGRareData()) |
238 svgRareData()->setInstanceUpdatesBlocked(value); | 238 svgRareData()->setInstanceUpdatesBlocked(value); |
239 } | 239 } |
240 | 240 |
241 AffineTransform SVGElement::localCoordinateSpaceTransform(CTMScope) const | 241 AffineTransform SVGElement::localCoordinateSpaceTransform(CTMScope) const |
242 { | 242 { |
243 // To be overriden by SVGGraphicsElement (or as special case SVGTextElement
and SVGPatternElement) | 243 // To be overriden by SVGGraphicsElement (or as special case SVGTextElement
and SVGPatternElement) |
244 return AffineTransform(); | 244 return AffineTransform(); |
245 } | 245 } |
246 | 246 |
247 const AtomicString& SVGElement::xmlbase() const | |
248 { | |
249 return fastGetAttribute(XMLNames::baseAttr); | |
250 } | |
251 | |
252 void SVGElement::setXMLbase(const AtomicString& value) | |
253 { | |
254 setAttribute(XMLNames::baseAttr, value); | |
255 } | |
256 | |
257 const AtomicString& SVGElement::xmllang() const | |
258 { | |
259 return fastGetAttribute(XMLNames::langAttr); | |
260 } | |
261 | |
262 void SVGElement::setXMLlang(const AtomicString& value) | |
263 { | |
264 setAttribute(XMLNames::langAttr, value); | |
265 } | |
266 | |
267 const AtomicString& SVGElement::xmlspace() const | |
268 { | |
269 return fastGetAttribute(XMLNames::spaceAttr); | |
270 } | |
271 | |
272 void SVGElement::setXMLspace(const AtomicString& value) | |
273 { | |
274 setAttribute(XMLNames::spaceAttr, value); | |
275 } | |
276 | |
277 Node::InsertionNotificationRequest SVGElement::insertedInto(ContainerNode* rootP
arent) | 247 Node::InsertionNotificationRequest SVGElement::insertedInto(ContainerNode* rootP
arent) |
278 { | 248 { |
279 Element::insertedInto(rootParent); | 249 Element::insertedInto(rootParent); |
280 updateRelativeLengthsInformation(); | 250 updateRelativeLengthsInformation(); |
281 buildPendingResourcesIfNeeded(); | 251 buildPendingResourcesIfNeeded(); |
282 return InsertionDone; | 252 return InsertionDone; |
283 } | 253 } |
284 | 254 |
285 void SVGElement::removedFrom(ContainerNode* rootParent) | 255 void SVGElement::removedFrom(ContainerNode* rootParent) |
286 { | 256 { |
(...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 Element::trace(visitor); | 1181 Element::trace(visitor); |
1212 } | 1182 } |
1213 | 1183 |
1214 const AtomicString& SVGElement::eventParameterName() | 1184 const AtomicString& SVGElement::eventParameterName() |
1215 { | 1185 { |
1216 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); | 1186 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con
structFromLiteral)); |
1217 return evtString; | 1187 return evtString; |
1218 } | 1188 } |
1219 | 1189 |
1220 } | 1190 } |
OLD | NEW |