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/BisonCSSParser.h" | 28 #include "core/css/parser/BisonCSSParser.h" |
29 | 29 |
30 #include "CSSValueKeywords.h" | 30 #include "core/CSSValueKeywords.h" |
31 #include "RuntimeEnabledFeatures.h" | 31 #include "core/StylePropertyShorthand.h" |
32 #include "StylePropertyShorthand.h" | |
33 #include "core/css/CSSArrayFunctionValue.h" | 32 #include "core/css/CSSArrayFunctionValue.h" |
34 #include "core/css/CSSAspectRatioValue.h" | 33 #include "core/css/CSSAspectRatioValue.h" |
35 #include "core/css/CSSBasicShapes.h" | 34 #include "core/css/CSSBasicShapes.h" |
36 #include "core/css/CSSBorderImage.h" | 35 #include "core/css/CSSBorderImage.h" |
37 #include "core/css/CSSCanvasValue.h" | 36 #include "core/css/CSSCanvasValue.h" |
38 #include "core/css/CSSCrossfadeValue.h" | 37 #include "core/css/CSSCrossfadeValue.h" |
39 #include "core/css/CSSCursorImageValue.h" | 38 #include "core/css/CSSCursorImageValue.h" |
40 #include "core/css/CSSFontFaceSrcValue.h" | 39 #include "core/css/CSSFontFaceSrcValue.h" |
41 #include "core/css/CSSFontFeatureValue.h" | 40 #include "core/css/CSSFontFeatureValue.h" |
42 #include "core/css/CSSFunctionValue.h" | 41 #include "core/css/CSSFunctionValue.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 #include "core/css/parser/CSSParserIdioms.h" | 74 #include "core/css/parser/CSSParserIdioms.h" |
76 #include "core/dom/Document.h" | 75 #include "core/dom/Document.h" |
77 #include "core/frame/FrameConsole.h" | 76 #include "core/frame/FrameConsole.h" |
78 #include "core/frame/FrameHost.h" | 77 #include "core/frame/FrameHost.h" |
79 #include "core/frame/Settings.h" | 78 #include "core/frame/Settings.h" |
80 #include "core/html/parser/HTMLParserIdioms.h" | 79 #include "core/html/parser/HTMLParserIdioms.h" |
81 #include "core/inspector/InspectorInstrumentation.h" | 80 #include "core/inspector/InspectorInstrumentation.h" |
82 #include "core/rendering/RenderTheme.h" | 81 #include "core/rendering/RenderTheme.h" |
83 #include "core/svg/SVGParserUtilities.h" | 82 #include "core/svg/SVGParserUtilities.h" |
84 #include "platform/FloatConversion.h" | 83 #include "platform/FloatConversion.h" |
| 84 #include "platform/RuntimeEnabledFeatures.h" |
85 #include "wtf/BitArray.h" | 85 #include "wtf/BitArray.h" |
86 #include "wtf/HexNumber.h" | 86 #include "wtf/HexNumber.h" |
87 #include "wtf/text/StringBuffer.h" | 87 #include "wtf/text/StringBuffer.h" |
88 #include "wtf/text/StringBuilder.h" | 88 #include "wtf/text/StringBuilder.h" |
89 #include "wtf/text/StringImpl.h" | 89 #include "wtf/text/StringImpl.h" |
90 #include "wtf/text/TextEncoding.h" | 90 #include "wtf/text/TextEncoding.h" |
91 #include <limits.h> | 91 #include <limits.h> |
92 | 92 |
93 #define YYDEBUG 0 | 93 #define YYDEBUG 0 |
94 | 94 |
(...skipping 1980 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2075 rule->setProperties(createStylePropertySet()); | 2075 rule->setProperties(createStylePropertySet()); |
2076 clearProperties(); | 2076 clearProperties(); |
2077 | 2077 |
2078 StyleRuleViewport* result = rule.get(); | 2078 StyleRuleViewport* result = rule.get(); |
2079 m_parsedRules.append(rule.release()); | 2079 m_parsedRules.append(rule.release()); |
2080 | 2080 |
2081 return result; | 2081 return result; |
2082 } | 2082 } |
2083 | 2083 |
2084 } | 2084 } |
OLD | NEW |