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

Side by Side Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 213193005: Revert of Add runtime feature and property names for unprefixed CSS Transforms (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/core/css/RuntimeCSSEnabled.cpp ('k') | Source/core/css/resolver/StyleBuilderCustom.cpp » ('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) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012 Intel Corporation. All rights reserved.
10 * 10 *
(...skipping 1594 matching lines...) Expand 10 before | Expand all | Expand 10 after
1605 return false; 1605 return false;
1606 // Properties below are validated inside parseViewportProperty, because we 1606 // Properties below are validated inside parseViewportProperty, because we
1607 // check for parser state. We need to invalidate if someone adds them outsid e 1607 // check for parser state. We need to invalidate if someone adds them outsid e
1608 // a @viewport rule. 1608 // a @viewport rule.
1609 case CSSPropertyMaxZoom: 1609 case CSSPropertyMaxZoom:
1610 case CSSPropertyMinZoom: 1610 case CSSPropertyMinZoom:
1611 case CSSPropertyOrientation: 1611 case CSSPropertyOrientation:
1612 case CSSPropertyUserZoom: 1612 case CSSPropertyUserZoom:
1613 validPrimitive = false; 1613 validPrimitive = false;
1614 break; 1614 break;
1615 // FIXME: crbug.com/154772 Unimplemented css-transforms properties
1616 case CSSPropertyBackfaceVisibility:
1617 case CSSPropertyPerspective:
1618 case CSSPropertyPerspectiveOrigin:
1619 case CSSPropertyTransform:
1620 case CSSPropertyTransformOrigin:
1621 case CSSPropertyTransformStyle:
1622 return false;
1623 default: 1615 default:
1624 return parseSVGValue(propId, important); 1616 return parseSVGValue(propId, important);
1625 } 1617 }
1626 1618
1627 if (validPrimitive) { 1619 if (validPrimitive) {
1628 parsedValue = parseValidPrimitive(id, value); 1620 parsedValue = parseValidPrimitive(id, value);
1629 m_valueList->next(); 1621 m_valueList->next();
1630 } 1622 }
1631 ASSERT(!m_parsedCalculation); 1623 ASSERT(!m_parsedCalculation);
1632 if (parsedValue) { 1624 if (parsedValue) {
(...skipping 6612 matching lines...) Expand 10 before | Expand all | Expand 10 after
8245 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); 8237 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill));
8246 if (!seenStroke) 8238 if (!seenStroke)
8247 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke) ); 8239 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke) );
8248 if (!seenMarkers) 8240 if (!seenMarkers)
8249 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers )); 8241 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers ));
8250 8242
8251 return parsedValues.release(); 8243 return parsedValues.release();
8252 } 8244 }
8253 8245
8254 } // namespace WebCore 8246 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/RuntimeCSSEnabled.cpp ('k') | Source/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698