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

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: Rebase 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 2744 matching lines...) Expand 10 before | Expand all | Expand 10 after
2755 case CSSPropertyWebkitPaddingBefore: 2755 case CSSPropertyWebkitPaddingBefore:
2756 case CSSPropertyWebkitLogicalWidth: 2756 case CSSPropertyWebkitLogicalWidth:
2757 case CSSPropertyWebkitLogicalHeight: 2757 case CSSPropertyWebkitLogicalHeight:
2758 case CSSPropertyWebkitMinLogicalWidth: 2758 case CSSPropertyWebkitMinLogicalWidth:
2759 case CSSPropertyWebkitMinLogicalHeight: 2759 case CSSPropertyWebkitMinLogicalHeight:
2760 case CSSPropertyWebkitMaxLogicalWidth: 2760 case CSSPropertyWebkitMaxLogicalWidth:
2761 case CSSPropertyWebkitMaxLogicalHeight: 2761 case CSSPropertyWebkitMaxLogicalHeight:
2762 ASSERT_NOT_REACHED(); 2762 ASSERT_NOT_REACHED();
2763 break; 2763 break;
2764 2764
2765 // FIXME: crbug.com/154772 Unimplemented css-transforms properties
2766 case CSSPropertyBackfaceVisibility:
2767 case CSSPropertyPerspective:
2768 case CSSPropertyPerspectiveOrigin:
2769 case CSSPropertyTransform:
2770 case CSSPropertyTransformOrigin:
2771 case CSSPropertyTransformStyle:
2772 break;
2773
2765 /* Unimplemented @font-face properties */ 2774 /* Unimplemented @font-face properties */
2766 case CSSPropertyFontStretch: 2775 case CSSPropertyFontStretch:
2767 case CSSPropertySrc: 2776 case CSSPropertySrc:
2768 case CSSPropertyUnicodeRange: 2777 case CSSPropertyUnicodeRange:
2769 break; 2778 break;
2770 2779
2771 /* Other unimplemented properties */ 2780 /* Other unimplemented properties */
2772 case CSSPropertyPage: // for @page 2781 case CSSPropertyPage: // for @page
2773 case CSSPropertyQuotes: // FIXME: needs implementation 2782 case CSSPropertyQuotes: // FIXME: needs implementation
2774 case CSSPropertySize: // for @page 2783 case CSSPropertySize: // for @page
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
3036 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 3045 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3037 CSSPropertyB ackgroundClip }; 3046 CSSPropertyB ackgroundClip };
3038 3047
3039 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated() ; 3048 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated() ;
3040 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator)))); 3049 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator))));
3041 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator)))); 3050 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator))));
3042 return list.release(); 3051 return list.release();
3043 } 3052 }
3044 3053
3045 } // namespace WebCore 3054 } // namespace WebCore
OLDNEW
« no previous file with comments | « LayoutTests/webexposed/css-properties-as-js-properties-expected.txt ('k') | Source/core/css/CSSProperty.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698