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

Side by Side Diff: Source/core/animation/css/CSSAnimations.cpp

Issue 173953002: Make font-weight animatable. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use clampTo<int>. Created 6 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 case CSSPropertyClip: 821 case CSSPropertyClip:
822 case CSSPropertyColor: 822 case CSSPropertyColor:
823 case CSSPropertyFill: 823 case CSSPropertyFill:
824 case CSSPropertyFillOpacity: 824 case CSSPropertyFillOpacity:
825 case CSSPropertyFlexBasis: 825 case CSSPropertyFlexBasis:
826 case CSSPropertyFlexGrow: 826 case CSSPropertyFlexGrow:
827 case CSSPropertyFlexShrink: 827 case CSSPropertyFlexShrink:
828 case CSSPropertyFloodColor: 828 case CSSPropertyFloodColor:
829 case CSSPropertyFloodOpacity: 829 case CSSPropertyFloodOpacity:
830 case CSSPropertyFontSize: 830 case CSSPropertyFontSize:
831 case CSSPropertyFontWeight:
831 case CSSPropertyHeight: 832 case CSSPropertyHeight:
832 case CSSPropertyKerning: 833 case CSSPropertyKerning:
833 case CSSPropertyLeft: 834 case CSSPropertyLeft:
834 case CSSPropertyLetterSpacing: 835 case CSSPropertyLetterSpacing:
835 case CSSPropertyLightingColor: 836 case CSSPropertyLightingColor:
836 case CSSPropertyLineHeight: 837 case CSSPropertyLineHeight:
837 case CSSPropertyListStyleImage: 838 case CSSPropertyListStyleImage:
838 case CSSPropertyMarginBottom: 839 case CSSPropertyMarginBottom:
839 case CSSPropertyMarginLeft: 840 case CSSPropertyMarginLeft:
840 case CSSPropertyMarginRight: 841 case CSSPropertyMarginRight:
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 CSSPropertyID id = convertToCSSPropertyID(i); 919 CSSPropertyID id = convertToCSSPropertyID(i);
919 if (isAnimatableProperty(id)) 920 if (isAnimatableProperty(id))
920 properties.append(id); 921 properties.append(id);
921 } 922 }
922 propertyShorthand = StylePropertyShorthand(CSSPropertyInvalid, propertie s.begin(), properties.size()); 923 propertyShorthand = StylePropertyShorthand(CSSPropertyInvalid, propertie s.begin(), properties.size());
923 } 924 }
924 return propertyShorthand; 925 return propertyShorthand;
925 } 926 }
926 927
927 } // namespace WebCore 928 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/animation/css/CSSAnimatableValueFactory.cpp ('k') | Source/core/animation/css/CSSPropertyAnimation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698