| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 m_cachedRepeatCount = invalidCachedTime; | 544 m_cachedRepeatCount = invalidCachedTime; |
| 545 else if (attrName == SVGNames::minAttr) | 545 else if (attrName == SVGNames::minAttr) |
| 546 m_cachedMin = invalidCachedTime; | 546 m_cachedMin = invalidCachedTime; |
| 547 else if (attrName == SVGNames::maxAttr) | 547 else if (attrName == SVGNames::maxAttr) |
| 548 m_cachedMax = invalidCachedTime; | 548 m_cachedMax = invalidCachedTime; |
| 549 else if (attrName == SVGNames::attributeNameAttr) | 549 else if (attrName == SVGNames::attributeNameAttr) |
| 550 setAttributeName(constructQualifiedName(this, fastGetAttribute(SVGNames:
:attributeNameAttr))); | 550 setAttributeName(constructQualifiedName(this, fastGetAttribute(SVGNames:
:attributeNameAttr))); |
| 551 else if (attrName.matches(XLinkNames::hrefAttr)) { | 551 else if (attrName.matches(XLinkNames::hrefAttr)) { |
| 552 SVGElementInstance::InvalidationGuard invalidationGuard(this); | 552 SVGElementInstance::InvalidationGuard invalidationGuard(this); |
| 553 buildPendingResource(); | 553 buildPendingResource(); |
| 554 if (m_targetElement) | |
| 555 clearAnimatedType(m_targetElement); | |
| 556 } else if (inDocument()) { | 554 } else if (inDocument()) { |
| 557 if (attrName == SVGNames::beginAttr) | 555 if (attrName == SVGNames::beginAttr) |
| 558 beginListChanged(elapsed()); | 556 beginListChanged(elapsed()); |
| 559 else if (attrName == SVGNames::endAttr) | 557 else if (attrName == SVGNames::endAttr) |
| 560 endListChanged(elapsed()); | 558 endListChanged(elapsed()); |
| 561 } | 559 } |
| 562 | 560 |
| 563 animationAttributeChanged(); | 561 animationAttributeChanged(); |
| 564 } | 562 } |
| 565 | 563 |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1286 if (eventType == "repeatn") { | 1284 if (eventType == "repeatn") { |
| 1287 unsigned repeatEventCount = m_repeatEventCountList.first(); | 1285 unsigned repeatEventCount = m_repeatEventCountList.first(); |
| 1288 m_repeatEventCountList.remove(0); | 1286 m_repeatEventCountList.remove(0); |
| 1289 dispatchEvent(RepeatEvent::create(eventType, repeatEventCount)); | 1287 dispatchEvent(RepeatEvent::create(eventType, repeatEventCount)); |
| 1290 } else { | 1288 } else { |
| 1291 dispatchEvent(Event::create(eventType)); | 1289 dispatchEvent(Event::create(eventType)); |
| 1292 } | 1290 } |
| 1293 } | 1291 } |
| 1294 | 1292 |
| 1295 } | 1293 } |
| OLD | NEW |