| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #include "CSSSelector.h" | 50 #include "CSSSelector.h" |
| 51 #include "CSSStyleSheet.h" | 51 #include "CSSStyleSheet.h" |
| 52 #include "CSSTimingFunctionValue.h" | 52 #include "CSSTimingFunctionValue.h" |
| 53 #include "CSSUnicodeRangeValue.h" | 53 #include "CSSUnicodeRangeValue.h" |
| 54 #include "CSSValueKeywords.h" | 54 #include "CSSValueKeywords.h" |
| 55 #include "CSSValueList.h" | 55 #include "CSSValueList.h" |
| 56 #include "CSSValuePool.h" | 56 #include "CSSValuePool.h" |
| 57 #include "CSSVariableValue.h" | 57 #include "CSSVariableValue.h" |
| 58 #include "Counter.h" | 58 #include "Counter.h" |
| 59 #include "Document.h" | 59 #include "Document.h" |
| 60 #include "FloatConversion.h" | |
| 61 #include "FontFeatureValue.h" | 60 #include "FontFeatureValue.h" |
| 62 #include "FontValue.h" | 61 #include "FontValue.h" |
| 63 #include "HTMLParserIdioms.h" | 62 #include "HTMLParserIdioms.h" |
| 64 #include "HashTools.h" | |
| 65 #include "HistogramSupport.h" | |
| 66 #include "MediaList.h" | 63 #include "MediaList.h" |
| 67 #include "MediaQueryExp.h" | 64 #include "MediaQueryExp.h" |
| 68 #include "Page.h" | 65 #include "Page.h" |
| 69 #include "PageConsole.h" | 66 #include "PageConsole.h" |
| 70 #include "Pair.h" | 67 #include "Pair.h" |
| 71 #include "Rect.h" | 68 #include "Rect.h" |
| 72 #include "RenderTheme.h" | 69 #include "RenderTheme.h" |
| 73 #include "RuntimeEnabledFeatures.h" | 70 #include "RuntimeEnabledFeatures.h" |
| 74 #include "SVGParserUtilities.h" | 71 #include "SVGParserUtilities.h" |
| 75 #include "Settings.h" | 72 #include "Settings.h" |
| 76 #include "ShadowValue.h" | 73 #include "ShadowValue.h" |
| 77 #include "StylePropertySet.h" | 74 #include "StylePropertySet.h" |
| 78 #include "StylePropertyShorthand.h" | 75 #include "StylePropertyShorthand.h" |
| 79 #include "StyleRule.h" | 76 #include "StyleRule.h" |
| 80 #include "StyleRuleImport.h" | 77 #include "StyleRuleImport.h" |
| 81 #include "StyleSheetContents.h" | 78 #include "StyleSheetContents.h" |
| 82 #include "WebKitCSSKeyframeRule.h" | 79 #include "WebKitCSSKeyframeRule.h" |
| 83 #include "WebKitCSSKeyframesRule.h" | 80 #include "WebKitCSSKeyframesRule.h" |
| 84 #include "WebKitCSSRegionRule.h" | 81 #include "WebKitCSSRegionRule.h" |
| 85 #include "WebKitCSSTransformValue.h" | 82 #include "WebKitCSSTransformValue.h" |
| 83 #include "core/platform/FloatConversion.h" |
| 84 #include "core/platform/HashTools.h" |
| 85 #include "core/platform/HistogramSupport.h" |
| 86 #include "core/platform/text/TextEncoding.h" | 86 #include "core/platform/text/TextEncoding.h" |
| 87 #include <wtf/BitArray.h> | 87 #include <wtf/BitArray.h> |
| 88 #include <wtf/dtoa.h> | 88 #include <wtf/dtoa.h> |
| 89 #include <wtf/HexNumber.h> | 89 #include <wtf/HexNumber.h> |
| 90 #include <wtf/text/StringBuffer.h> | 90 #include <wtf/text/StringBuffer.h> |
| 91 #include <wtf/text/StringBuilder.h> | 91 #include <wtf/text/StringBuilder.h> |
| 92 #include <wtf/text/StringImpl.h> | 92 #include <wtf/text/StringImpl.h> |
| 93 | 93 |
| 94 #if ENABLE(CSS_IMAGE_SET) | 94 #if ENABLE(CSS_IMAGE_SET) |
| 95 #include "CSSImageSetValue.h" | 95 #include "CSSImageSetValue.h" |
| (...skipping 11616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11712 { | 11712 { |
| 11713 // The tokenizer checks for the construct of an+b. | 11713 // The tokenizer checks for the construct of an+b. |
| 11714 // However, since the {ident} rule precedes the {nth} rule, some of those | 11714 // However, since the {ident} rule precedes the {nth} rule, some of those |
| 11715 // tokens are identified as string literal. Furthermore we need to accept | 11715 // tokens are identified as string literal. Furthermore we need to accept |
| 11716 // "odd" and "even" which does not match to an+b. | 11716 // "odd" and "even" which does not match to an+b. |
| 11717 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") | 11717 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") |
| 11718 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); | 11718 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); |
| 11719 } | 11719 } |
| 11720 | 11720 |
| 11721 } | 11721 } |
| OLD | NEW |