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

Side by Side Diff: Source/core/css/resolver/StyleBuilderCustom.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 4 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 5 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 7 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 8 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 9 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 10 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
(...skipping 2053 matching lines...) Expand 10 before | Expand all | Expand 10 after
2064 case CSSPropertyWebkitShapeInside: 2064 case CSSPropertyWebkitShapeInside:
2065 case CSSPropertyWebkitShapeOutside: 2065 case CSSPropertyWebkitShapeOutside:
2066 case CSSPropertyWhiteSpace: 2066 case CSSPropertyWhiteSpace:
2067 case CSSPropertyWidows: 2067 case CSSPropertyWidows:
2068 case CSSPropertyWidth: 2068 case CSSPropertyWidth:
2069 case CSSPropertyWordBreak: 2069 case CSSPropertyWordBreak:
2070 case CSSPropertyWordSpacing: 2070 case CSSPropertyWordSpacing:
2071 case CSSPropertyWordWrap: 2071 case CSSPropertyWordWrap:
2072 case CSSPropertyZIndex: 2072 case CSSPropertyZIndex:
2073 case CSSPropertyZoom: 2073 case CSSPropertyZoom:
2074 case CSSPropertyMaxZoom:
2075 case CSSPropertyMinZoom:
2076 case CSSPropertyOrientation:
2077 case CSSPropertyUserZoom:
2078 case CSSPropertyInternalPriority:
2079 case CSSPropertyInternalTargetDensity:
2074 case CSSPropertyFontFamily: 2080 case CSSPropertyFontFamily:
2075 case CSSPropertyGridAutoFlow: 2081 case CSSPropertyGridAutoFlow:
2076 case CSSPropertyMarker: 2082 case CSSPropertyMarker:
2077 case CSSPropertyAlignmentBaseline: 2083 case CSSPropertyAlignmentBaseline:
2078 case CSSPropertyBufferedRendering: 2084 case CSSPropertyBufferedRendering:
2079 case CSSPropertyClipRule: 2085 case CSSPropertyClipRule:
2080 case CSSPropertyColorInterpolation: 2086 case CSSPropertyColorInterpolation:
2081 case CSSPropertyColorInterpolationFilters: 2087 case CSSPropertyColorInterpolationFilters:
2082 case CSSPropertyColorRendering: 2088 case CSSPropertyColorRendering:
2083 case CSSPropertyDominantBaseline: 2089 case CSSPropertyDominantBaseline:
2084 case CSSPropertyFillRule: 2090 case CSSPropertyFillRule:
2085 case CSSPropertyMaskType: 2091 case CSSPropertyMaskType:
2086 case CSSPropertyShapeRendering: 2092 case CSSPropertyShapeRendering:
2087 case CSSPropertyStrokeLinecap: 2093 case CSSPropertyStrokeLinecap:
2088 case CSSPropertyStrokeLinejoin: 2094 case CSSPropertyStrokeLinejoin:
2089 case CSSPropertyTextAnchor: 2095 case CSSPropertyTextAnchor:
2090 case CSSPropertyVectorEffect: 2096 case CSSPropertyVectorEffect:
2091 case CSSPropertyWritingMode: 2097 case CSSPropertyWritingMode:
2092 ASSERT_NOT_REACHED(); 2098 ASSERT_NOT_REACHED();
2093 return; 2099 return;
2094 // Only used in @viewport rules
2095 case CSSPropertyMaxZoom:
2096 case CSSPropertyMinZoom:
2097 case CSSPropertyOrientation:
2098 case CSSPropertyUserZoom:
2099 return;
2100 2100
2101 case CSSPropertyBaselineShift: 2101 case CSSPropertyBaselineShift:
2102 { 2102 {
2103 HANDLE_SVG_INHERIT_AND_INITIAL(baselineShift, BaselineShift); 2103 HANDLE_SVG_INHERIT_AND_INITIAL(baselineShift, BaselineShift);
2104 if (!primitiveValue) 2104 if (!primitiveValue)
2105 break; 2105 break;
2106 2106
2107 SVGRenderStyle* svgStyle = state.style()->accessSVGStyle(); 2107 SVGRenderStyle* svgStyle = state.style()->accessSVGStyle();
2108 if (primitiveValue->getValueID()) { 2108 if (primitiveValue->getValueID()) {
2109 switch (primitiveValue->getValueID()) { 2109 switch (primitiveValue->getValueID()) {
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
2337 break; 2337 break;
2338 } 2338 }
2339 case CSSPropertyEnableBackground: 2339 case CSSPropertyEnableBackground:
2340 // Silently ignoring this property for now 2340 // Silently ignoring this property for now
2341 // http://bugs.webkit.org/show_bug.cgi?id=6022 2341 // http://bugs.webkit.org/show_bug.cgi?id=6022
2342 break; 2342 break;
2343 } 2343 }
2344 } 2344 }
2345 2345
2346 } // namespace WebCore 2346 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698