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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 161 } |
162 | 162 |
163 private: | 163 private: |
164 bool m_animationPropertyKeywordAllowed; | 164 bool m_animationPropertyKeywordAllowed; |
165 bool m_firstAnimationCommitted; | 165 bool m_firstAnimationCommitted; |
166 bool m_hasSeenAnimationPropertyKeyword; | 166 bool m_hasSeenAnimationPropertyKeyword; |
167 }; | 167 }; |
168 | 168 |
169 CSSPropertyParser::CSSPropertyParser(OwnPtr<CSSParserValueList>& valueList, | 169 CSSPropertyParser::CSSPropertyParser(OwnPtr<CSSParserValueList>& valueList, |
170 const CSSParserContext& context, bool inViewport, bool savedImportant, | 170 const CSSParserContext& context, bool inViewport, bool savedImportant, |
171 ParsedPropertyVector& parsedProperties, bool& hasFontFaceOnlyValues) | 171 WillBeHeapVector<CSSProperty, 256>& parsedProperties, bool& hasFontFaceOnlyV
alues) |
172 : m_valueList(valueList) | 172 : m_valueList(valueList) |
173 , m_context(context) | 173 , m_context(context) |
174 , m_inViewport(inViewport) | 174 , m_inViewport(inViewport) |
175 , m_important(savedImportant) // See comment in header, should be removed. | 175 , m_important(savedImportant) // See comment in header, should be removed. |
176 , m_parsedProperties(parsedProperties) | 176 , m_parsedProperties(parsedProperties) |
177 , m_hasFontFaceOnlyValues(hasFontFaceOnlyValues) | 177 , m_hasFontFaceOnlyValues(hasFontFaceOnlyValues) |
178 , m_inParseShorthand(0) | 178 , m_inParseShorthand(0) |
179 , m_currentShorthand(CSSPropertyInvalid) | 179 , m_currentShorthand(CSSPropertyInvalid) |
180 , m_implicitShorthand(false) | 180 , m_implicitShorthand(false) |
181 { | 181 { |
(...skipping 8271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8453 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); | 8453 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); |
8454 if (!seenStroke) | 8454 if (!seenStroke) |
8455 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); | 8455 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); |
8456 if (!seenMarkers) | 8456 if (!seenMarkers) |
8457 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); | 8457 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); |
8458 | 8458 |
8459 return parsedValues.release(); | 8459 return parsedValues.release(); |
8460 } | 8460 } |
8461 | 8461 |
8462 } // namespace WebCore | 8462 } // namespace WebCore |
OLD | NEW |