| 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 supportedAttributes.add(SVGNames::beginAttr); | 443 supportedAttributes.add(SVGNames::beginAttr); |
| 444 supportedAttributes.add(SVGNames::endAttr); | 444 supportedAttributes.add(SVGNames::endAttr); |
| 445 supportedAttributes.add(SVGNames::durAttr); | 445 supportedAttributes.add(SVGNames::durAttr); |
| 446 supportedAttributes.add(SVGNames::repeatDurAttr); | 446 supportedAttributes.add(SVGNames::repeatDurAttr); |
| 447 supportedAttributes.add(SVGNames::repeatCountAttr); | 447 supportedAttributes.add(SVGNames::repeatCountAttr); |
| 448 supportedAttributes.add(SVGNames::minAttr); | 448 supportedAttributes.add(SVGNames::minAttr); |
| 449 supportedAttributes.add(SVGNames::maxAttr); | 449 supportedAttributes.add(SVGNames::maxAttr); |
| 450 supportedAttributes.add(SVGNames::attributeNameAttr); | 450 supportedAttributes.add(SVGNames::attributeNameAttr); |
| 451 supportedAttributes.add(XLinkNames::hrefAttr); | 451 supportedAttributes.add(XLinkNames::hrefAttr); |
| 452 } | 452 } |
| 453 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslato
r>(attrName); | 453 return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName); |
| 454 } | 454 } |
| 455 | 455 |
| 456 void SVGSMILElement::parseAttribute(const QualifiedName& name, const AtomicStrin
g& value) | 456 void SVGSMILElement::parseAttribute(const QualifiedName& name, const AtomicStrin
g& value) |
| 457 { | 457 { |
| 458 if (name == SVGNames::beginAttr) { | 458 if (name == SVGNames::beginAttr) { |
| 459 if (!m_conditions.isEmpty()) { | 459 if (!m_conditions.isEmpty()) { |
| 460 disconnectConditions(); | 460 disconnectConditions(); |
| 461 m_conditions.clear(); | 461 m_conditions.clear(); |
| 462 parseBeginOrEnd(fastGetAttribute(SVGNames::endAttr), End); | 462 parseBeginOrEnd(fastGetAttribute(SVGNames::endAttr), End); |
| 463 } | 463 } |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1186 addBeginTime(elapsed, elapsed); | 1186 addBeginTime(elapsed, elapsed); |
| 1187 } | 1187 } |
| 1188 | 1188 |
| 1189 void SVGSMILElement::endedActiveInterval() | 1189 void SVGSMILElement::endedActiveInterval() |
| 1190 { | 1190 { |
| 1191 clearTimesWithDynamicOrigins(m_beginTimes); | 1191 clearTimesWithDynamicOrigins(m_beginTimes); |
| 1192 clearTimesWithDynamicOrigins(m_endTimes); | 1192 clearTimesWithDynamicOrigins(m_endTimes); |
| 1193 } | 1193 } |
| 1194 | 1194 |
| 1195 } | 1195 } |
| OLD | NEW |