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

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

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Rebase 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 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after
2041 if (value < 0) 2042 if (value < 0)
2042 fvalue -= 0.5f; 2043 fvalue -= 0.5f;
2043 else 2044 else
2044 fvalue += 0.5f; 2045 fvalue += 0.5f;
2045 } 2046 }
2046 2047
2047 return roundForImpreciseConversion<int>(fvalue / zoomFactor); 2048 return roundForImpreciseConversion<int>(fvalue / zoomFactor);
2048 } 2049 }
2049 2050
2050 } // namespace blink 2051 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGPaintContext.cpp ('k') | third_party/WebKit/Source/core/style/SVGComputedStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698