Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Side by Side Diff: Source/core/svg/SVGElement.cpp

Issue 656443002: Disable animated clipping on SVG content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Disable animated clipping. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/svg/animations/animate-clip-crash-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 if (cssPropertyMap.isEmpty()) { 622 if (cssPropertyMap.isEmpty()) {
623 // Fill the map for the first use. 623 // Fill the map for the first use.
624 struct AttrToTypeEntry { 624 struct AttrToTypeEntry {
625 const QualifiedName& attr; 625 const QualifiedName& attr;
626 const AnimatedPropertyType propType; 626 const AnimatedPropertyType propType;
627 }; 627 };
628 const AttrToTypeEntry attrToTypes[] = { 628 const AttrToTypeEntry attrToTypes[] = {
629 { alignment_baselineAttr, AnimatedString }, 629 { alignment_baselineAttr, AnimatedString },
630 { baseline_shiftAttr, AnimatedString }, 630 { baseline_shiftAttr, AnimatedString },
631 { buffered_renderingAttr, AnimatedString }, 631 { buffered_renderingAttr, AnimatedString },
632 { clipAttr, AnimatedRect },
633 { clip_pathAttr, AnimatedString }, 632 { clip_pathAttr, AnimatedString },
634 { clip_ruleAttr, AnimatedString }, 633 { clip_ruleAttr, AnimatedString },
635 { SVGNames::colorAttr, AnimatedColor }, 634 { SVGNames::colorAttr, AnimatedColor },
636 { color_interpolationAttr, AnimatedString }, 635 { color_interpolationAttr, AnimatedString },
637 { color_interpolation_filtersAttr, AnimatedString }, 636 { color_interpolation_filtersAttr, AnimatedString },
638 { color_renderingAttr, AnimatedString }, 637 { color_renderingAttr, AnimatedString },
639 { cursorAttr, AnimatedString }, 638 { cursorAttr, AnimatedString },
640 { displayAttr, AnimatedString }, 639 { displayAttr, AnimatedString },
641 { dominant_baselineAttr, AnimatedString }, 640 { dominant_baselineAttr, AnimatedString },
642 { fillAttr, AnimatedColor }, 641 { fillAttr, AnimatedColor },
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 Element::trace(visitor); 1185 Element::trace(visitor);
1187 } 1186 }
1188 1187
1189 const AtomicString& SVGElement::eventParameterName() 1188 const AtomicString& SVGElement::eventParameterName()
1190 { 1189 {
1191 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con structFromLiteral)); 1190 DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::Con structFromLiteral));
1192 return evtString; 1191 return evtString;
1193 } 1192 }
1194 1193
1195 } // namespace blink 1194 } // namespace blink
OLDNEW
« no previous file with comments | « LayoutTests/svg/animations/animate-clip-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698