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

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, 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 2760 matching lines...) Expand 10 before | Expand all | Expand 10 after
2771 case CSSPropertyWebkitTransformOriginX: 2771 case CSSPropertyWebkitTransformOriginX:
2772 case CSSPropertyWebkitTransformOriginY: 2772 case CSSPropertyWebkitTransformOriginY:
2773 case CSSPropertyWebkitTransformOriginZ: 2773 case CSSPropertyWebkitTransformOriginZ:
2774 break; 2774 break;
2775 2775
2776 /* @viewport rule properties */ 2776 /* @viewport rule properties */
2777 case CSSPropertyMaxZoom: 2777 case CSSPropertyMaxZoom:
2778 case CSSPropertyMinZoom: 2778 case CSSPropertyMinZoom:
2779 case CSSPropertyOrientation: 2779 case CSSPropertyOrientation:
2780 case CSSPropertyUserZoom: 2780 case CSSPropertyUserZoom:
2781 case CSSPropertyInternalTargetDensity:
2782 case CSSPropertyInternalPriority:
2781 break; 2783 break;
2782 2784
2783 case CSSPropertyBufferedRendering: 2785 case CSSPropertyBufferedRendering:
2784 case CSSPropertyClipPath: 2786 case CSSPropertyClipPath:
2785 case CSSPropertyClipRule: 2787 case CSSPropertyClipRule:
2786 case CSSPropertyMask: 2788 case CSSPropertyMask:
2787 case CSSPropertyEnableBackground: 2789 case CSSPropertyEnableBackground:
2788 case CSSPropertyFilter: 2790 case CSSPropertyFilter:
2789 case CSSPropertyFloodColor: 2791 case CSSPropertyFloodColor:
2790 case CSSPropertyFloodOpacity: 2792 case CSSPropertyFloodOpacity:
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
3018 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 3020 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3019 CSSPropertyB ackgroundClip }; 3021 CSSPropertyB ackgroundClip };
3020 3022
3021 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated(); 3023 RefPtr<CSSValueList> list = CSSValueList::createSlashSeparated();
3022 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope rtiesBeforeSlashSeperator)))); 3024 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(prope rtiesBeforeSlashSeperator))));
3023 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper tiesAfterSlashSeperator)))); 3025 list->append(getCSSPropertyValuesForShorthandProperties(StylePropertyShortha nd(CSSPropertyBackground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(proper tiesAfterSlashSeperator))));
3024 return list.release(); 3026 return list.release();
3025 } 3027 }
3026 3028
3027 } // namespace WebCore 3029 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698