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

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

Issue 211123002: CSS Transforms: Implement transform-style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. 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
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 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 case CSSPropertyWebkitMarginBottomCollapse: 1576 case CSSPropertyWebkitMarginBottomCollapse:
1577 case CSSPropertyWebkitMarginTopCollapse: 1577 case CSSPropertyWebkitMarginTopCollapse:
1578 case CSSPropertyInternalMarqueeDirection: 1578 case CSSPropertyInternalMarqueeDirection:
1579 case CSSPropertyInternalMarqueeStyle: 1579 case CSSPropertyInternalMarqueeStyle:
1580 case CSSPropertyWebkitPrintColorAdjust: 1580 case CSSPropertyWebkitPrintColorAdjust:
1581 case CSSPropertyWebkitRtlOrdering: 1581 case CSSPropertyWebkitRtlOrdering:
1582 case CSSPropertyWebkitRubyPosition: 1582 case CSSPropertyWebkitRubyPosition:
1583 case CSSPropertyWebkitTextCombine: 1583 case CSSPropertyWebkitTextCombine:
1584 case CSSPropertyWebkitTextEmphasisPosition: 1584 case CSSPropertyWebkitTextEmphasisPosition:
1585 case CSSPropertyWebkitTextSecurity: 1585 case CSSPropertyWebkitTextSecurity:
1586 case CSSPropertyTransformStyle:
1586 case CSSPropertyWebkitTransformStyle: 1587 case CSSPropertyWebkitTransformStyle:
1587 case CSSPropertyWebkitUserDrag: 1588 case CSSPropertyWebkitUserDrag:
1588 case CSSPropertyWebkitUserModify: 1589 case CSSPropertyWebkitUserModify:
1589 case CSSPropertyWebkitUserSelect: 1590 case CSSPropertyWebkitUserSelect:
1590 case CSSPropertyWebkitWrapFlow: 1591 case CSSPropertyWebkitWrapFlow:
1591 case CSSPropertyWebkitWrapThrough: 1592 case CSSPropertyWebkitWrapThrough:
1592 case CSSPropertyWebkitWritingMode: 1593 case CSSPropertyWebkitWritingMode:
1593 case CSSPropertyWhiteSpace: 1594 case CSSPropertyWhiteSpace:
1594 case CSSPropertyWordBreak: 1595 case CSSPropertyWordBreak:
1595 case CSSPropertyWordWrap: 1596 case CSSPropertyWordWrap:
(...skipping 10 matching lines...) Expand all
1606 case CSSPropertyOrientation: 1607 case CSSPropertyOrientation:
1607 case CSSPropertyUserZoom: 1608 case CSSPropertyUserZoom:
1608 validPrimitive = false; 1609 validPrimitive = false;
1609 break; 1610 break;
1610 // FIXME: crbug.com/154772 Unimplemented css-transforms properties 1611 // FIXME: crbug.com/154772 Unimplemented css-transforms properties
1611 case CSSPropertyBackfaceVisibility: 1612 case CSSPropertyBackfaceVisibility:
1612 case CSSPropertyPerspective: 1613 case CSSPropertyPerspective:
1613 case CSSPropertyPerspectiveOrigin: 1614 case CSSPropertyPerspectiveOrigin:
1614 case CSSPropertyTransform: 1615 case CSSPropertyTransform:
1615 case CSSPropertyTransformOrigin: 1616 case CSSPropertyTransformOrigin:
1616 case CSSPropertyTransformStyle:
1617 return false; 1617 return false;
1618 default: 1618 default:
1619 return parseSVGValue(propId, important); 1619 return parseSVGValue(propId, important);
1620 } 1620 }
1621 1621
1622 if (validPrimitive) { 1622 if (validPrimitive) {
1623 parsedValue = parseValidPrimitive(id, value); 1623 parsedValue = parseValidPrimitive(id, value);
1624 m_valueList->next(); 1624 m_valueList->next();
1625 } 1625 }
1626 ASSERT(!m_parsedCalculation); 1626 ASSERT(!m_parsedCalculation);
(...skipping 6613 matching lines...) Expand 10 before | Expand all | Expand 10 after
8240 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); 8240 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill));
8241 if (!seenStroke) 8241 if (!seenStroke)
8242 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke) ); 8242 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke) );
8243 if (!seenMarkers) 8243 if (!seenMarkers)
8244 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers )); 8244 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers ));
8245 8245
8246 return parsedValues.release(); 8246 return parsedValues.release();
8247 } 8247 }
8248 8248
8249 } // namespace WebCore 8249 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/parser/BisonCSSParser-in.cpp ('k') | Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698