| 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 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1546 case CSSPropertyTextOverflow: | 1546 case CSSPropertyTextOverflow: |
| 1547 case CSSPropertyTextOverlineMode: | 1547 case CSSPropertyTextOverlineMode: |
| 1548 case CSSPropertyTextOverlineStyle: | 1548 case CSSPropertyTextOverlineStyle: |
| 1549 case CSSPropertyTextRendering: | 1549 case CSSPropertyTextRendering: |
| 1550 case CSSPropertyTextTransform: | 1550 case CSSPropertyTextTransform: |
| 1551 case CSSPropertyTextUnderlineMode: | 1551 case CSSPropertyTextUnderlineMode: |
| 1552 case CSSPropertyTextUnderlineStyle: | 1552 case CSSPropertyTextUnderlineStyle: |
| 1553 case CSSPropertyTouchActionDelay: | 1553 case CSSPropertyTouchActionDelay: |
| 1554 case CSSPropertyVisibility: | 1554 case CSSPropertyVisibility: |
| 1555 case CSSPropertyWebkitAppearance: | 1555 case CSSPropertyWebkitAppearance: |
| 1556 case CSSPropertyBackfaceVisibility: | |
| 1557 case CSSPropertyWebkitBackfaceVisibility: | 1556 case CSSPropertyWebkitBackfaceVisibility: |
| 1558 case CSSPropertyWebkitBorderAfterStyle: | 1557 case CSSPropertyWebkitBorderAfterStyle: |
| 1559 case CSSPropertyWebkitBorderBeforeStyle: | 1558 case CSSPropertyWebkitBorderBeforeStyle: |
| 1560 case CSSPropertyWebkitBorderEndStyle: | 1559 case CSSPropertyWebkitBorderEndStyle: |
| 1561 case CSSPropertyWebkitBorderFit: | 1560 case CSSPropertyWebkitBorderFit: |
| 1562 case CSSPropertyWebkitBorderStartStyle: | 1561 case CSSPropertyWebkitBorderStartStyle: |
| 1563 case CSSPropertyWebkitBoxAlign: | 1562 case CSSPropertyWebkitBoxAlign: |
| 1564 case CSSPropertyWebkitBoxDecorationBreak: | 1563 case CSSPropertyWebkitBoxDecorationBreak: |
| 1565 case CSSPropertyWebkitBoxDirection: | 1564 case CSSPropertyWebkitBoxDirection: |
| 1566 case CSSPropertyWebkitBoxLines: | 1565 case CSSPropertyWebkitBoxLines: |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1585 case CSSPropertyWebkitMarginBottomCollapse: | 1584 case CSSPropertyWebkitMarginBottomCollapse: |
| 1586 case CSSPropertyWebkitMarginTopCollapse: | 1585 case CSSPropertyWebkitMarginTopCollapse: |
| 1587 case CSSPropertyInternalMarqueeDirection: | 1586 case CSSPropertyInternalMarqueeDirection: |
| 1588 case CSSPropertyInternalMarqueeStyle: | 1587 case CSSPropertyInternalMarqueeStyle: |
| 1589 case CSSPropertyWebkitPrintColorAdjust: | 1588 case CSSPropertyWebkitPrintColorAdjust: |
| 1590 case CSSPropertyWebkitRtlOrdering: | 1589 case CSSPropertyWebkitRtlOrdering: |
| 1591 case CSSPropertyWebkitRubyPosition: | 1590 case CSSPropertyWebkitRubyPosition: |
| 1592 case CSSPropertyWebkitTextCombine: | 1591 case CSSPropertyWebkitTextCombine: |
| 1593 case CSSPropertyWebkitTextEmphasisPosition: | 1592 case CSSPropertyWebkitTextEmphasisPosition: |
| 1594 case CSSPropertyWebkitTextSecurity: | 1593 case CSSPropertyWebkitTextSecurity: |
| 1595 case CSSPropertyTransformStyle: | |
| 1596 case CSSPropertyWebkitTransformStyle: | 1594 case CSSPropertyWebkitTransformStyle: |
| 1597 case CSSPropertyWebkitUserDrag: | 1595 case CSSPropertyWebkitUserDrag: |
| 1598 case CSSPropertyWebkitUserModify: | 1596 case CSSPropertyWebkitUserModify: |
| 1599 case CSSPropertyWebkitUserSelect: | 1597 case CSSPropertyWebkitUserSelect: |
| 1600 case CSSPropertyWebkitWrapFlow: | 1598 case CSSPropertyWebkitWrapFlow: |
| 1601 case CSSPropertyWebkitWrapThrough: | 1599 case CSSPropertyWebkitWrapThrough: |
| 1602 case CSSPropertyWebkitWritingMode: | 1600 case CSSPropertyWebkitWritingMode: |
| 1603 case CSSPropertyWhiteSpace: | 1601 case CSSPropertyWhiteSpace: |
| 1604 case CSSPropertyWordBreak: | 1602 case CSSPropertyWordBreak: |
| 1605 case CSSPropertyWordWrap: | 1603 case CSSPropertyWordWrap: |
| 1606 case CSSPropertyMixBlendMode: | 1604 case CSSPropertyMixBlendMode: |
| 1607 case CSSPropertyIsolation: | 1605 case CSSPropertyIsolation: |
| 1608 // These properties should be handled before in isValidKeywordPropertyAn
dValue(). | 1606 // These properties should be handled before in isValidKeywordPropertyAn
dValue(). |
| 1609 ASSERT_NOT_REACHED(); | 1607 ASSERT_NOT_REACHED(); |
| 1610 return false; | 1608 return false; |
| 1611 // Properties below are validated inside parseViewportProperty, because we | 1609 // Properties below are validated inside parseViewportProperty, because we |
| 1612 // check for parser state. We need to invalidate if someone adds them outsid
e | 1610 // check for parser state. We need to invalidate if someone adds them outsid
e |
| 1613 // a @viewport rule. | 1611 // a @viewport rule. |
| 1614 case CSSPropertyMaxZoom: | 1612 case CSSPropertyMaxZoom: |
| 1615 case CSSPropertyMinZoom: | 1613 case CSSPropertyMinZoom: |
| 1616 case CSSPropertyOrientation: | 1614 case CSSPropertyOrientation: |
| 1617 case CSSPropertyUserZoom: | 1615 case CSSPropertyUserZoom: |
| 1618 validPrimitive = false; | 1616 validPrimitive = false; |
| 1619 break; | 1617 break; |
| 1620 // FIXME: crbug.com/154772 Unimplemented css-transforms properties | |
| 1621 case CSSPropertyPerspective: | |
| 1622 case CSSPropertyPerspectiveOrigin: | |
| 1623 case CSSPropertyTransform: | |
| 1624 case CSSPropertyTransformOrigin: | |
| 1625 return false; | |
| 1626 default: | 1618 default: |
| 1627 return parseSVGValue(propId, important); | 1619 return parseSVGValue(propId, important); |
| 1628 } | 1620 } |
| 1629 | 1621 |
| 1630 if (validPrimitive) { | 1622 if (validPrimitive) { |
| 1631 parsedValue = parseValidPrimitive(id, value); | 1623 parsedValue = parseValidPrimitive(id, value); |
| 1632 m_valueList->next(); | 1624 m_valueList->next(); |
| 1633 } | 1625 } |
| 1634 ASSERT(!m_parsedCalculation); | 1626 ASSERT(!m_parsedCalculation); |
| 1635 if (parsedValue) { | 1627 if (parsedValue) { |
| (...skipping 6612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8248 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); | 8240 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); |
| 8249 if (!seenStroke) | 8241 if (!seenStroke) |
| 8250 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); | 8242 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); |
| 8251 if (!seenMarkers) | 8243 if (!seenMarkers) |
| 8252 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); | 8244 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); |
| 8253 | 8245 |
| 8254 return parsedValues.release(); | 8246 return parsedValues.release(); |
| 8255 } | 8247 } |
| 8256 | 8248 |
| 8257 } // namespace WebCore | 8249 } // namespace WebCore |
| OLD | NEW |