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

Side by Side Diff: Source/core/css/resolver/StyleBuilderCustom.cpp

Issue 211033002: Add runtime feature and property names for unprefixed CSS Transforms (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
(...skipping 1722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); 1733 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
1734 if (Pair* pairValue = primitiveValue->getPairValue()) { 1734 if (Pair* pairValue = primitiveValue->getPairValue()) {
1735 state.style()->setAlignItems(*pairValue->first()); 1735 state.style()->setAlignItems(*pairValue->first());
1736 state.style()->setAlignItemsOverflowAlignment(*pairValue->second()); 1736 state.style()->setAlignItemsOverflowAlignment(*pairValue->second());
1737 } else { 1737 } else {
1738 state.style()->setAlignItems(*primitiveValue); 1738 state.style()->setAlignItems(*primitiveValue);
1739 } 1739 }
1740 return; 1740 return;
1741 } 1741 }
1742 1742
1743 // FIXME: crbug.com/154772 Unimplemented css-transforms properties
1744 case CSSPropertyBackfaceVisibility:
1745 case CSSPropertyPerspective:
1746 case CSSPropertyPerspectiveOrigin:
1747 case CSSPropertyTransform:
1748 case CSSPropertyTransformOrigin:
1749 case CSSPropertyTransformStyle:
1750 return;
1743 // These properties are aliased and we already applied the property on the p refixed version. 1751 // These properties are aliased and we already applied the property on the p refixed version.
1744 case CSSPropertyAnimationDelay: 1752 case CSSPropertyAnimationDelay:
1745 case CSSPropertyAnimationDirection: 1753 case CSSPropertyAnimationDirection:
1746 case CSSPropertyAnimationDuration: 1754 case CSSPropertyAnimationDuration:
1747 case CSSPropertyAnimationFillMode: 1755 case CSSPropertyAnimationFillMode:
1748 case CSSPropertyAnimationIterationCount: 1756 case CSSPropertyAnimationIterationCount:
1749 case CSSPropertyAnimationName: 1757 case CSSPropertyAnimationName:
1750 case CSSPropertyAnimationPlayState: 1758 case CSSPropertyAnimationPlayState:
1751 case CSSPropertyAnimationTimingFunction: 1759 case CSSPropertyAnimationTimingFunction:
1752 case CSSPropertyTransitionDelay: 1760 case CSSPropertyTransitionDelay:
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
2177 break; 2185 break;
2178 } 2186 }
2179 case CSSPropertyEnableBackground: 2187 case CSSPropertyEnableBackground:
2180 // Silently ignoring this property for now 2188 // Silently ignoring this property for now
2181 // http://bugs.webkit.org/show_bug.cgi?id=6022 2189 // http://bugs.webkit.org/show_bug.cgi?id=6022
2182 break; 2190 break;
2183 } 2191 }
2184 } 2192 }
2185 2193
2186 } // namespace WebCore 2194 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698