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

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

Issue 228323007: Remove color-profile from SVG (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix one more test Created 6 years, 8 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 | « Source/core/svg/SVGAttributeNames.in ('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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 // This is a list of all base CSS and SVG CSS properties which are expos ed as SVG XML attributes 359 // This is a list of all base CSS and SVG CSS properties which are expos ed as SVG XML attributes
360 mapAttributeToCSSProperty(propertyNameToIdMap, alignment_baselineAttr); 360 mapAttributeToCSSProperty(propertyNameToIdMap, alignment_baselineAttr);
361 mapAttributeToCSSProperty(propertyNameToIdMap, baseline_shiftAttr); 361 mapAttributeToCSSProperty(propertyNameToIdMap, baseline_shiftAttr);
362 mapAttributeToCSSProperty(propertyNameToIdMap, buffered_renderingAttr); 362 mapAttributeToCSSProperty(propertyNameToIdMap, buffered_renderingAttr);
363 mapAttributeToCSSProperty(propertyNameToIdMap, clipAttr); 363 mapAttributeToCSSProperty(propertyNameToIdMap, clipAttr);
364 mapAttributeToCSSProperty(propertyNameToIdMap, clip_pathAttr); 364 mapAttributeToCSSProperty(propertyNameToIdMap, clip_pathAttr);
365 mapAttributeToCSSProperty(propertyNameToIdMap, clip_ruleAttr); 365 mapAttributeToCSSProperty(propertyNameToIdMap, clip_ruleAttr);
366 mapAttributeToCSSProperty(propertyNameToIdMap, SVGNames::colorAttr); 366 mapAttributeToCSSProperty(propertyNameToIdMap, SVGNames::colorAttr);
367 mapAttributeToCSSProperty(propertyNameToIdMap, color_interpolationAttr); 367 mapAttributeToCSSProperty(propertyNameToIdMap, color_interpolationAttr);
368 mapAttributeToCSSProperty(propertyNameToIdMap, color_interpolation_filte rsAttr); 368 mapAttributeToCSSProperty(propertyNameToIdMap, color_interpolation_filte rsAttr);
369 mapAttributeToCSSProperty(propertyNameToIdMap, color_profileAttr);
370 mapAttributeToCSSProperty(propertyNameToIdMap, color_renderingAttr); 369 mapAttributeToCSSProperty(propertyNameToIdMap, color_renderingAttr);
371 mapAttributeToCSSProperty(propertyNameToIdMap, cursorAttr); 370 mapAttributeToCSSProperty(propertyNameToIdMap, cursorAttr);
372 mapAttributeToCSSProperty(propertyNameToIdMap, SVGNames::directionAttr); 371 mapAttributeToCSSProperty(propertyNameToIdMap, SVGNames::directionAttr);
373 mapAttributeToCSSProperty(propertyNameToIdMap, displayAttr); 372 mapAttributeToCSSProperty(propertyNameToIdMap, displayAttr);
374 mapAttributeToCSSProperty(propertyNameToIdMap, dominant_baselineAttr); 373 mapAttributeToCSSProperty(propertyNameToIdMap, dominant_baselineAttr);
375 mapAttributeToCSSProperty(propertyNameToIdMap, enable_backgroundAttr); 374 mapAttributeToCSSProperty(propertyNameToIdMap, enable_backgroundAttr);
376 mapAttributeToCSSProperty(propertyNameToIdMap, fillAttr); 375 mapAttributeToCSSProperty(propertyNameToIdMap, fillAttr);
377 mapAttributeToCSSProperty(propertyNameToIdMap, fill_opacityAttr); 376 mapAttributeToCSSProperty(propertyNameToIdMap, fill_opacityAttr);
378 mapAttributeToCSSProperty(propertyNameToIdMap, fill_ruleAttr); 377 mapAttributeToCSSProperty(propertyNameToIdMap, fill_ruleAttr);
379 mapAttributeToCSSProperty(propertyNameToIdMap, filterAttr); 378 mapAttributeToCSSProperty(propertyNameToIdMap, filterAttr);
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 // Fill the map for the first use. 637 // Fill the map for the first use.
639 cssPropertyMap.set(alignment_baselineAttr, AnimatedString); 638 cssPropertyMap.set(alignment_baselineAttr, AnimatedString);
640 cssPropertyMap.set(baseline_shiftAttr, AnimatedString); 639 cssPropertyMap.set(baseline_shiftAttr, AnimatedString);
641 cssPropertyMap.set(buffered_renderingAttr, AnimatedString); 640 cssPropertyMap.set(buffered_renderingAttr, AnimatedString);
642 cssPropertyMap.set(clipAttr, AnimatedRect); 641 cssPropertyMap.set(clipAttr, AnimatedRect);
643 cssPropertyMap.set(clip_pathAttr, AnimatedString); 642 cssPropertyMap.set(clip_pathAttr, AnimatedString);
644 cssPropertyMap.set(clip_ruleAttr, AnimatedString); 643 cssPropertyMap.set(clip_ruleAttr, AnimatedString);
645 cssPropertyMap.set(SVGNames::colorAttr, AnimatedColor); 644 cssPropertyMap.set(SVGNames::colorAttr, AnimatedColor);
646 cssPropertyMap.set(color_interpolationAttr, AnimatedString); 645 cssPropertyMap.set(color_interpolationAttr, AnimatedString);
647 cssPropertyMap.set(color_interpolation_filtersAttr, AnimatedString); 646 cssPropertyMap.set(color_interpolation_filtersAttr, AnimatedString);
648 cssPropertyMap.set(color_profileAttr, AnimatedString);
649 cssPropertyMap.set(color_renderingAttr, AnimatedString); 647 cssPropertyMap.set(color_renderingAttr, AnimatedString);
650 cssPropertyMap.set(cursorAttr, AnimatedString); 648 cssPropertyMap.set(cursorAttr, AnimatedString);
651 cssPropertyMap.set(displayAttr, AnimatedString); 649 cssPropertyMap.set(displayAttr, AnimatedString);
652 cssPropertyMap.set(dominant_baselineAttr, AnimatedString); 650 cssPropertyMap.set(dominant_baselineAttr, AnimatedString);
653 cssPropertyMap.set(fillAttr, AnimatedColor); 651 cssPropertyMap.set(fillAttr, AnimatedColor);
654 cssPropertyMap.set(fill_opacityAttr, AnimatedNumber); 652 cssPropertyMap.set(fill_opacityAttr, AnimatedNumber);
655 cssPropertyMap.set(fill_ruleAttr, AnimatedString); 653 cssPropertyMap.set(fill_ruleAttr, AnimatedString);
656 cssPropertyMap.set(filterAttr, AnimatedString); 654 cssPropertyMap.set(filterAttr, AnimatedString);
657 cssPropertyMap.set(flood_colorAttr, AnimatedColor); 655 cssPropertyMap.set(flood_colorAttr, AnimatedColor);
658 cssPropertyMap.set(flood_opacityAttr, AnimatedNumber); 656 cssPropertyMap.set(flood_opacityAttr, AnimatedNumber);
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 animatableAttributes.add(SVGNames::zAttr); 1107 animatableAttributes.add(SVGNames::zAttr);
1110 } 1108 }
1111 1109
1112 if (name == classAttr) 1110 if (name == classAttr)
1113 return true; 1111 return true;
1114 1112
1115 return animatableAttributes.contains(name); 1113 return animatableAttributes.contains(name);
1116 } 1114 }
1117 #endif 1115 #endif
1118 } 1116 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAttributeNames.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698