| 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 * |
| 11 * This library is free software; you can redistribute it and/or | 11 * This library is free software; you can redistribute it and/or |
| 12 * modify it under the terms of the GNU Library General Public | 12 * modify it under the terms of the GNU Library General Public |
| 13 * License as published by the Free Software Foundation; either | 13 * License as published by the Free Software Foundation; either |
| 14 * version 2 of the License, or (at your option) any later version. | 14 * version 2 of the License, or (at your option) any later version. |
| 15 * | 15 * |
| 16 * This library is distributed in the hope that it will be useful, | 16 * This library is distributed in the hope that it will be useful, |
| 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 19 * Library General Public License for more details. | 19 * Library General Public License for more details. |
| 20 * | 20 * |
| 21 * You should have received a copy of the GNU Library General Public License | 21 * You should have received a copy of the GNU Library General Public License |
| 22 * along with this library; see the file COPYING.LIB. If not, write to | 22 * along with this library; see the file COPYING.LIB. If not, write to |
| 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 24 * Boston, MA 02110-1301, USA. | 24 * Boston, MA 02110-1301, USA. |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #include "config.h" | 27 #include "config.h" |
| 28 #include "core/css/parser/CSSPropertyParser.h" | 28 #include "core/css/parser/CSSPropertyParser.h" |
| 29 #include "RuntimeEnabledFeatures.h" | 29 |
| 30 #include "core/rendering/RenderTheme.h" | |
| 31 #include "core/svg/SVGPaint.h" | |
| 32 // FIXME: Way too many! | 30 // FIXME: Way too many! |
| 33 #include "CSSValueKeywords.h" | 31 #include "core/CSSValueKeywords.h" |
| 34 #include "RuntimeEnabledFeatures.h" | 32 #include "core/StylePropertyShorthand.h" |
| 35 #include "StylePropertyShorthand.h" | |
| 36 #include "core/css/CSSArrayFunctionValue.h" | 33 #include "core/css/CSSArrayFunctionValue.h" |
| 37 #include "core/css/CSSAspectRatioValue.h" | 34 #include "core/css/CSSAspectRatioValue.h" |
| 38 #include "core/css/CSSBasicShapes.h" | 35 #include "core/css/CSSBasicShapes.h" |
| 39 #include "core/css/CSSBorderImage.h" | 36 #include "core/css/CSSBorderImage.h" |
| 40 #include "core/css/CSSCanvasValue.h" | 37 #include "core/css/CSSCanvasValue.h" |
| 41 #include "core/css/CSSCrossfadeValue.h" | 38 #include "core/css/CSSCrossfadeValue.h" |
| 42 #include "core/css/CSSCursorImageValue.h" | 39 #include "core/css/CSSCursorImageValue.h" |
| 43 #include "core/css/CSSFontFaceSrcValue.h" | 40 #include "core/css/CSSFontFaceSrcValue.h" |
| 44 #include "core/css/CSSFontFeatureValue.h" | 41 #include "core/css/CSSFontFeatureValue.h" |
| 45 #include "core/css/CSSFunctionValue.h" | 42 #include "core/css/CSSFunctionValue.h" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 67 #include "core/css/CSSValuePool.h" | 64 #include "core/css/CSSValuePool.h" |
| 68 #include "core/css/Counter.h" | 65 #include "core/css/Counter.h" |
| 69 #include "core/css/HashTools.h" | 66 #include "core/css/HashTools.h" |
| 70 #include "core/css/Pair.h" | 67 #include "core/css/Pair.h" |
| 71 #include "core/css/Rect.h" | 68 #include "core/css/Rect.h" |
| 72 #include "core/css/RuntimeCSSEnabled.h" | 69 #include "core/css/RuntimeCSSEnabled.h" |
| 73 #include "core/css/parser/CSSParserIdioms.h" | 70 #include "core/css/parser/CSSParserIdioms.h" |
| 74 #include "core/html/parser/HTMLParserIdioms.h" | 71 #include "core/html/parser/HTMLParserIdioms.h" |
| 75 #include "core/inspector/InspectorInstrumentation.h" | 72 #include "core/inspector/InspectorInstrumentation.h" |
| 76 #include "core/rendering/RenderTheme.h" | 73 #include "core/rendering/RenderTheme.h" |
| 74 #include "core/svg/SVGPaint.h" |
| 77 #include "core/svg/SVGParserUtilities.h" | 75 #include "core/svg/SVGParserUtilities.h" |
| 78 #include "platform/FloatConversion.h" | 76 #include "platform/FloatConversion.h" |
| 77 #include "platform/RuntimeEnabledFeatures.h" |
| 79 #include "wtf/BitArray.h" | 78 #include "wtf/BitArray.h" |
| 80 #include "wtf/HexNumber.h" | 79 #include "wtf/HexNumber.h" |
| 81 #include "wtf/text/StringBuffer.h" | 80 #include "wtf/text/StringBuffer.h" |
| 82 #include "wtf/text/StringBuilder.h" | 81 #include "wtf/text/StringBuilder.h" |
| 83 #include "wtf/text/StringImpl.h" | 82 #include "wtf/text/StringImpl.h" |
| 84 #include "wtf/text/TextEncoding.h" | 83 #include "wtf/text/TextEncoding.h" |
| 85 #include <limits.h> | 84 #include <limits.h> |
| 86 | 85 |
| 87 using namespace std; | 86 using namespace std; |
| 88 | 87 |
| (...skipping 8329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8418 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); | 8417 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); |
| 8419 if (!seenStroke) | 8418 if (!seenStroke) |
| 8420 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); | 8419 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke)
); |
| 8421 if (!seenMarkers) | 8420 if (!seenMarkers) |
| 8422 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); | 8421 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers
)); |
| 8423 | 8422 |
| 8424 return parsedValues.release(); | 8423 return parsedValues.release(); |
| 8425 } | 8424 } |
| 8426 | 8425 |
| 8427 } // namespace WebCore | 8426 } // namespace WebCore |
| OLD | NEW |