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

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 16646002: Move the CSS Device Adaptation @viewport rule support behind a runtime flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 7 years, 6 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
« no previous file with comments | « Source/bindings/v8/custom/V8CSSRuleCustom.cpp ('k') | Source/core/css/CSSGrammar.y.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2730 matching lines...) Expand 10 before | Expand all | Expand 10 after
2741 case CSSPropertyWebkitMaskRepeatX: 2741 case CSSPropertyWebkitMaskRepeatX:
2742 case CSSPropertyWebkitMaskRepeatY: 2742 case CSSPropertyWebkitMaskRepeatY:
2743 case CSSPropertyWebkitPerspectiveOriginX: 2743 case CSSPropertyWebkitPerspectiveOriginX:
2744 case CSSPropertyWebkitPerspectiveOriginY: 2744 case CSSPropertyWebkitPerspectiveOriginY:
2745 case CSSPropertyWebkitTextStroke: 2745 case CSSPropertyWebkitTextStroke:
2746 case CSSPropertyWebkitTransformOriginX: 2746 case CSSPropertyWebkitTransformOriginX:
2747 case CSSPropertyWebkitTransformOriginY: 2747 case CSSPropertyWebkitTransformOriginY:
2748 case CSSPropertyWebkitTransformOriginZ: 2748 case CSSPropertyWebkitTransformOriginZ:
2749 break; 2749 break;
2750 2750
2751 #if ENABLE(CSS_DEVICE_ADAPTATION) 2751 /* @viewport rule properties */
2752 case CSSPropertyMaxZoom: 2752 case CSSPropertyMaxZoom:
2753 case CSSPropertyMinZoom: 2753 case CSSPropertyMinZoom:
2754 case CSSPropertyOrientation: 2754 case CSSPropertyOrientation:
2755 case CSSPropertyUserZoom: 2755 case CSSPropertyUserZoom:
2756 break; 2756 break;
2757 #endif
2758 2757
2759 case CSSPropertyBufferedRendering: 2758 case CSSPropertyBufferedRendering:
2760 case CSSPropertyClipPath: 2759 case CSSPropertyClipPath:
2761 case CSSPropertyClipRule: 2760 case CSSPropertyClipRule:
2762 case CSSPropertyMask: 2761 case CSSPropertyMask:
2763 case CSSPropertyEnableBackground: 2762 case CSSPropertyEnableBackground:
2764 case CSSPropertyFilter: 2763 case CSSPropertyFilter:
2765 case CSSPropertyFloodColor: 2764 case CSSPropertyFloodColor:
2766 case CSSPropertyFloodOpacity: 2765 case CSSPropertyFloodOpacity:
2767 case CSSPropertyLightingColor: 2766 case CSSPropertyLightingColor:
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
2994 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 2993 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
2995 CSSPropertyB ackgroundClip }; 2994 CSSPropertyB ackgroundClip };
2996 2995
2997 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 2996 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
2998 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat or)))); 2997 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlashSeperat or))));
2999 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator )))); 2998 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSeperator ))));
3000 return list.release(); 2999 return list.release();
3001 } 3000 }
3002 3001
3003 } // namespace WebCore 3002 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/v8/custom/V8CSSRuleCustom.cpp ('k') | Source/core/css/CSSGrammar.y.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698