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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Baselines Created 4 years, 3 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) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. 4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 switch (property) { 972 switch (property) {
973 case CSSPropertyOpacity: 973 case CSSPropertyOpacity:
974 case CSSPropertyTransform: 974 case CSSPropertyTransform:
975 case CSSPropertyAliasWebkitTransform: 975 case CSSPropertyAliasWebkitTransform:
976 case CSSPropertyTransformStyle: 976 case CSSPropertyTransformStyle:
977 case CSSPropertyAliasWebkitTransformStyle: 977 case CSSPropertyAliasWebkitTransformStyle:
978 case CSSPropertyPerspective: 978 case CSSPropertyPerspective:
979 case CSSPropertyAliasWebkitPerspective: 979 case CSSPropertyAliasWebkitPerspective:
980 case CSSPropertyWebkitMask: 980 case CSSPropertyWebkitMask:
981 case CSSPropertyWebkitMaskBoxImage: 981 case CSSPropertyWebkitMaskBoxImage:
982 case CSSPropertyWebkitClipPath: 982 case CSSPropertyClipPath:
983 case CSSPropertyAliasWebkitClipPath:
983 case CSSPropertyWebkitBoxReflect: 984 case CSSPropertyWebkitBoxReflect:
984 case CSSPropertyFilter: 985 case CSSPropertyFilter:
985 case CSSPropertyAliasWebkitFilter: 986 case CSSPropertyAliasWebkitFilter:
986 case CSSPropertyBackdropFilter: 987 case CSSPropertyBackdropFilter:
987 case CSSPropertyZIndex: 988 case CSSPropertyZIndex:
988 case CSSPropertyPosition: 989 case CSSPropertyPosition:
989 case CSSPropertyMixBlendMode: 990 case CSSPropertyMixBlendMode:
990 case CSSPropertyIsolation: 991 case CSSPropertyIsolation:
991 return true; 992 return true;
992 default: 993 default:
(...skipping 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 if (value < 0) 2059 if (value < 0)
2059 fvalue -= 0.5f; 2060 fvalue -= 0.5f;
2060 else 2061 else
2061 fvalue += 0.5f; 2062 fvalue += 0.5f;
2062 } 2063 }
2063 2064
2064 return roundForImpreciseConversion<int>(fvalue / zoomFactor); 2065 return roundForImpreciseConversion<int>(fvalue / zoomFactor);
2065 } 2066 }
2066 2067
2067 } // namespace blink 2068 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698