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

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

Issue 19555002: Translate viewport related meta tags into @viewport descriptors as suggested by the CSS Device Adap… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 2853 matching lines...) Expand 10 before | Expand all | Expand 10 after
2864 case CSSPropertyWebkitTransformOriginX: 2864 case CSSPropertyWebkitTransformOriginX:
2865 case CSSPropertyWebkitTransformOriginY: 2865 case CSSPropertyWebkitTransformOriginY:
2866 case CSSPropertyWebkitTransformOriginZ: 2866 case CSSPropertyWebkitTransformOriginZ:
2867 break; 2867 break;
2868 2868
2869 /* @viewport rule properties */ 2869 /* @viewport rule properties */
2870 case CSSPropertyMaxZoom: 2870 case CSSPropertyMaxZoom:
2871 case CSSPropertyMinZoom: 2871 case CSSPropertyMinZoom:
2872 case CSSPropertyOrientation: 2872 case CSSPropertyOrientation:
2873 case CSSPropertyUserZoom: 2873 case CSSPropertyUserZoom:
2874 case CSSPropertyInternalTargetDensity:
2875 case CSSPropertyInternalPriority:
2874 break; 2876 break;
2875 2877
2876 // Internal properties that shouldn't be exposed throught getComputedSty le. 2878 // Internal properties that shouldn't be exposed throught getComputedSty le.
2877 case CSSPropertyInternalMarqueeDirection: 2879 case CSSPropertyInternalMarqueeDirection:
2878 ASSERT_NOT_REACHED(); 2880 ASSERT_NOT_REACHED();
2879 return 0; 2881 return 0;
2880 2882
2881 case CSSPropertyBufferedRendering: 2883 case CSSPropertyBufferedRendering:
2882 case CSSPropertyClipPath: 2884 case CSSPropertyClipPath:
2883 case CSSPropertyClipRule: 2885 case CSSPropertyClipRule:
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
3162 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 3164 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3163 CSSPropertyB ackgroundClip }; 3165 CSSPropertyB ackgroundClip };
3164 3166
3165 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 3167 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
3166 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator)))); 3168 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator))));
3167 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator)))); 3169 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator))));
3168 return list.release(); 3170 return list.release();
3169 } 3171 }
3170 3172
3171 } // namespace WebCore 3173 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698