OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2007 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 if (updateRelativeLengthsOrViewBox | 324 if (updateRelativeLengthsOrViewBox |
325 || SVGZoomAndPan::isKnownAttribute(attrName)) { | 325 || SVGZoomAndPan::isKnownAttribute(attrName)) { |
326 if (renderer()) | 326 if (renderer()) |
327 RenderSVGResource::markForLayoutAndParentResourceInvalidation(render
er()); | 327 RenderSVGResource::markForLayoutAndParentResourceInvalidation(render
er()); |
328 return; | 328 return; |
329 } | 329 } |
330 | 330 |
331 SVGGraphicsElement::svgAttributeChanged(attrName); | 331 SVGGraphicsElement::svgAttributeChanged(attrName); |
332 } | 332 } |
333 | 333 |
334 unsigned SVGSVGElement::suspendRedraw(unsigned /* maxWaitMilliseconds */) | |
335 { | |
336 // FIXME: Implement me (see bug 11275) | |
337 return 0; | |
338 } | |
339 | |
340 void SVGSVGElement::unsuspendRedraw(unsigned /* suspendHandleId */) | |
341 { | |
342 // FIXME: Implement me (see bug 11275) | |
343 } | |
344 | |
345 void SVGSVGElement::unsuspendRedrawAll() | |
346 { | |
347 // FIXME: Implement me (see bug 11275) | |
348 } | |
349 | |
350 void SVGSVGElement::forceRedraw() | |
351 { | |
352 // FIXME: Implement me (see bug 11275) | |
353 } | |
354 | |
355 PassRefPtr<NodeList> SVGSVGElement::collectIntersectionOrEnclosureList(const Flo
atRect& rect, SVGElement* referenceElement, CollectIntersectionOrEnclosure colle
ct) const | 334 PassRefPtr<NodeList> SVGSVGElement::collectIntersectionOrEnclosureList(const Flo
atRect& rect, SVGElement* referenceElement, CollectIntersectionOrEnclosure colle
ct) const |
356 { | 335 { |
357 Vector<RefPtr<Node> > nodes; | 336 Vector<RefPtr<Node> > nodes; |
358 Element* element = ElementTraversal::next(*(referenceElement ? referenceElem
ent : this)); | 337 Element* element = ElementTraversal::next(*(referenceElement ? referenceElem
ent : this)); |
359 while (element) { | 338 while (element) { |
360 if (element->isSVGElement()) { | 339 if (element->isSVGElement()) { |
361 SVGElement* svgElement = toSVGElement(element); | 340 SVGElement* svgElement = toSVGElement(element); |
362 if (collect == CollectIntersectionList) { | 341 if (collect == CollectIntersectionList) { |
363 if (RenderSVGModelObject::checkIntersection(svgElement->renderer
(), rect)) | 342 if (RenderSVGModelObject::checkIntersection(svgElement->renderer
(), rect)) |
364 nodes.append(element); | 343 nodes.append(element); |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 continue; | 784 continue; |
806 | 785 |
807 Element* element = toElement(node); | 786 Element* element = toElement(node); |
808 if (element->getIdAttribute() == id) | 787 if (element->getIdAttribute() == id) |
809 return element; | 788 return element; |
810 } | 789 } |
811 return 0; | 790 return 0; |
812 } | 791 } |
813 | 792 |
814 } | 793 } |
OLD | NEW |