| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |