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

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.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) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
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 Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 2750 matching lines...) Expand 10 before | Expand all | Expand 10 after
2761 case CSSPropertyWebkitPaddingBefore: 2761 case CSSPropertyWebkitPaddingBefore:
2762 case CSSPropertyWebkitLogicalWidth: 2762 case CSSPropertyWebkitLogicalWidth:
2763 case CSSPropertyWebkitLogicalHeight: 2763 case CSSPropertyWebkitLogicalHeight:
2764 case CSSPropertyWebkitMinLogicalWidth: 2764 case CSSPropertyWebkitMinLogicalWidth:
2765 case CSSPropertyWebkitMinLogicalHeight: 2765 case CSSPropertyWebkitMinLogicalHeight:
2766 case CSSPropertyWebkitMaxLogicalWidth: 2766 case CSSPropertyWebkitMaxLogicalWidth:
2767 case CSSPropertyWebkitMaxLogicalHeight: 2767 case CSSPropertyWebkitMaxLogicalHeight:
2768 ASSERT_NOT_REACHED(); 2768 ASSERT_NOT_REACHED();
2769 break; 2769 break;
2770 2770
2771 // FIXME: crbug.com/154772 Unimplemented css-transforms properties
2772 case CSSPropertyBackfaceVisibility:
2773 case CSSPropertyPerspective:
2774 case CSSPropertyPerspectiveOrigin:
2775 case CSSPropertyTransform:
2776 case CSSPropertyTransformOrigin:
2777 case CSSPropertyTransformStyle:
2778 break;
2779
2771 /* Unimplemented @font-face properties */ 2780 /* Unimplemented @font-face properties */
2772 case CSSPropertyFontStretch: 2781 case CSSPropertyFontStretch:
2773 case CSSPropertySrc: 2782 case CSSPropertySrc:
2774 case CSSPropertyUnicodeRange: 2783 case CSSPropertyUnicodeRange:
2775 break; 2784 break;
2776 2785
2777 /* Other unimplemented properties */ 2786 /* Other unimplemented properties */
2778 case CSSPropertyPage: // for @page 2787 case CSSPropertyPage: // for @page
2779 case CSSPropertyQuotes: // FIXME: needs implementation 2788 case CSSPropertyQuotes: // FIXME: needs implementation
2780 case CSSPropertySize: // for @page 2789 case CSSPropertySize: // for @page
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
3042 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 3051 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3043 CSSPropertyB ackgroundClip }; 3052 CSSPropertyB ackgroundClip };
3044 3053
3045 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated() ; 3054 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated() ;
3046 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator)))); 3055 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator))));
3047 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator)))); 3056 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator))));
3048 return list.release(); 3057 return list.release();
3049 } 3058 }
3050 3059
3051 } // namespace WebCore 3060 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698