| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 #include "core/css/StyleRuleImport.h" | 72 #include "core/css/StyleRuleImport.h" |
| 73 #include "core/css/StyleSheetContents.h" | 73 #include "core/css/StyleSheetContents.h" |
| 74 #include "core/dom/Document.h" | 74 #include "core/dom/Document.h" |
| 75 #include "core/html/parser/HTMLParserIdioms.h" | 75 #include "core/html/parser/HTMLParserIdioms.h" |
| 76 #include "core/inspector/InspectorInstrumentation.h" | 76 #include "core/inspector/InspectorInstrumentation.h" |
| 77 #include "core/page/Page.h" | 77 #include "core/page/Page.h" |
| 78 #include "core/page/PageConsole.h" | 78 #include "core/page/PageConsole.h" |
| 79 #include "core/page/Settings.h" | 79 #include "core/page/Settings.h" |
| 80 #include "core/platform/FloatConversion.h" | 80 #include "core/platform/FloatConversion.h" |
| 81 #include "core/platform/HashTools.h" | 81 #include "core/platform/HashTools.h" |
| 82 #include "core/platform/HistogramSupport.h" | |
| 83 #include "core/rendering/RenderTheme.h" | 82 #include "core/rendering/RenderTheme.h" |
| 84 #include "core/svg/SVGParserUtilities.h" | 83 #include "core/svg/SVGParserUtilities.h" |
| 85 #include "wtf/BitArray.h" | 84 #include "wtf/BitArray.h" |
| 86 #include "wtf/HexNumber.h" | 85 #include "wtf/HexNumber.h" |
| 87 #include "wtf/text/StringBuffer.h" | 86 #include "wtf/text/StringBuffer.h" |
| 88 #include "wtf/text/StringBuilder.h" | 87 #include "wtf/text/StringBuilder.h" |
| 89 #include "wtf/text/StringImpl.h" | 88 #include "wtf/text/StringImpl.h" |
| 90 #include "wtf/text/TextEncoding.h" | 89 #include "wtf/text/TextEncoding.h" |
| 91 #include <limits.h> | 90 #include <limits.h> |
| 92 | 91 |
| (...skipping 11713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11806 { | 11805 { |
| 11807 // The tokenizer checks for the construct of an+b. | 11806 // The tokenizer checks for the construct of an+b. |
| 11808 // However, since the {ident} rule precedes the {nth} rule, some of those | 11807 // However, since the {ident} rule precedes the {nth} rule, some of those |
| 11809 // tokens are identified as string literal. Furthermore we need to accept | 11808 // tokens are identified as string literal. Furthermore we need to accept |
| 11810 // "odd" and "even" which does not match to an+b. | 11809 // "odd" and "even" which does not match to an+b. |
| 11811 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") | 11810 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") |
| 11812 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); | 11811 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); |
| 11813 } | 11812 } |
| 11814 | 11813 |
| 11815 } | 11814 } |
| OLD | NEW |