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

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: Land patch upload resulted in python error Created 7 years, 5 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 2759 matching lines...) Expand 10 before | Expand all | Expand 10 after
2770 case CSSPropertyWebkitTransformOriginX: 2770 case CSSPropertyWebkitTransformOriginX:
2771 case CSSPropertyWebkitTransformOriginY: 2771 case CSSPropertyWebkitTransformOriginY:
2772 case CSSPropertyWebkitTransformOriginZ: 2772 case CSSPropertyWebkitTransformOriginZ:
2773 break; 2773 break;
2774 2774
2775 /* @viewport rule properties */ 2775 /* @viewport rule properties */
2776 case CSSPropertyMaxZoom: 2776 case CSSPropertyMaxZoom:
2777 case CSSPropertyMinZoom: 2777 case CSSPropertyMinZoom:
2778 case CSSPropertyOrientation: 2778 case CSSPropertyOrientation:
2779 case CSSPropertyUserZoom: 2779 case CSSPropertyUserZoom:
2780 case CSSPropertyInternalTargetDensity:
2781 case CSSPropertyInternalPriority:
2780 break; 2782 break;
2781 2783
2782 case CSSPropertyBufferedRendering: 2784 case CSSPropertyBufferedRendering:
2783 case CSSPropertyClipPath: 2785 case CSSPropertyClipPath:
2784 case CSSPropertyClipRule: 2786 case CSSPropertyClipRule:
2785 case CSSPropertyMask: 2787 case CSSPropertyMask:
2786 case CSSPropertyEnableBackground: 2788 case CSSPropertyEnableBackground:
2787 case CSSPropertyFilter: 2789 case CSSPropertyFilter:
2788 case CSSPropertyFloodColor: 2790 case CSSPropertyFloodColor:
2789 case CSSPropertyFloodOpacity: 2791 case CSSPropertyFloodOpacity:
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
3062 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 3064 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3063 CSSPropertyB ackgroundClip }; 3065 CSSPropertyB ackgroundClip };
3064 3066
3065 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 3067 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
3066 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope rtiesBeforeSlashSeperator)))); 3068 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope rtiesBeforeSlashSeperator))));
3067 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper tiesAfterSlashSeperator)))); 3069 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper tiesAfterSlashSeperator))));
3068 return list.release(); 3070 return list.release();
3069 } 3071 }
3070 3072
3071 } // namespace WebCore 3073 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698