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 1589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1600 return false; | 1600 return false; |
1601 // Properties below are validated inside parseViewportProperty, because we | 1601 // Properties below are validated inside parseViewportProperty, because we |
1602 // check for parser state. We need to invalidate if someone adds them outsid
e | 1602 // check for parser state. We need to invalidate if someone adds them outsid
e |
1603 // a @viewport rule. | 1603 // a @viewport rule. |
1604 case CSSPropertyMaxZoom: | 1604 case CSSPropertyMaxZoom: |
1605 case CSSPropertyMinZoom: | 1605 case CSSPropertyMinZoom: |
1606 case CSSPropertyOrientation: | 1606 case CSSPropertyOrientation: |
1607 case CSSPropertyUserZoom: | 1607 case CSSPropertyUserZoom: |
1608 validPrimitive = false; | 1608 validPrimitive = false; |
1609 break; | 1609 break; |
| 1610 // FIXME: crbug.com/154772 Unimplemented css-transforms properties |
| 1611 case CSSPropertyBackfaceVisibility: |
| 1612 case CSSPropertyPerspective: |
| 1613 case CSSPropertyPerspectiveOrigin: |
| 1614 case CSSPropertyTransform: |
| 1615 case CSSPropertyTransformOrigin: |
| 1616 case CSSPropertyTransformStyle: |
| 1617 return false; |
1610 default: | 1618 default: |
1611 return parseSVGValue(propId, important); | 1619 return parseSVGValue(propId, important); |
1612 } | 1620 } |
1613 | 1621 |
1614 if (validPrimitive) { | 1622 if (validPrimitive) { |
1615 parsedValue = parseValidPrimitive(id, value); | 1623 parsedValue = parseValidPrimitive(id, value); |
1616 m_valueList->next(); | 1624 m_valueList->next(); |
1617 } | 1625 } |
1618 ASSERT(!m_parsedCalculation); | 1626 ASSERT(!m_parsedCalculation); |
1619 if (parsedValue) { | 1627 if (parsedValue) { |
(...skipping 6612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8232 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); | 8240 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); |
8233 if (!seenStroke) | 8241 if (!seenStroke) |
8234 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); | 8242 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); |
8235 if (!seenMarkers) | 8243 if (!seenMarkers) |
8236 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); | 8244 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); |
8237 | 8245 |
8238 return parsedValues.release(); | 8246 return parsedValues.release(); |
8239 } | 8247 } |
8240 | 8248 |
8241 } // namespace WebCore | 8249 } // namespace WebCore |
OLD | NEW |