Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: Source/core/css/CSSParser.cpp

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/accessibility/AccessibilityListBoxOption.cpp ('k') | Source/core/css/MediaList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 && a.isCSSCompositingEnabled == b.isCSSCompositingEnabled 282 && a.isCSSCompositingEnabled == b.isCSSCompositingEnabled
283 && a.isCSSGridLayoutEnabled == b.isCSSGridLayoutEnabled 283 && a.isCSSGridLayoutEnabled == b.isCSSGridLayoutEnabled
284 && a.isCSSVariablesEnabled == b.isCSSVariablesEnabled 284 && a.isCSSVariablesEnabled == b.isCSSVariablesEnabled
285 && a.needsSiteSpecificQuirks == b.needsSiteSpecificQuirks; 285 && a.needsSiteSpecificQuirks == b.needsSiteSpecificQuirks;
286 } 286 }
287 287
288 CSSParser::CSSParser(const CSSParserContext& context) 288 CSSParser::CSSParser(const CSSParserContext& context)
289 : m_context(context) 289 : m_context(context)
290 , m_important(false) 290 , m_important(false)
291 , m_id(CSSPropertyInvalid) 291 , m_id(CSSPropertyInvalid)
292 , m_styleSheet(0)
293 , m_supportsCondition(false) 292 , m_supportsCondition(false)
294 , m_selectorListForParseSelector(0) 293 , m_selectorListForParseSelector(0)
295 , m_numParsedPropertiesBeforeMarginBox(INVALID_NUM_PARSED_PROPERTIES) 294 , m_numParsedPropertiesBeforeMarginBox(INVALID_NUM_PARSED_PROPERTIES)
296 , m_inParseShorthand(0) 295 , m_inParseShorthand(0)
297 , m_currentShorthand(CSSPropertyInvalid) 296 , m_currentShorthand(CSSPropertyInvalid)
298 , m_implicitShorthand(false) 297 , m_implicitShorthand(false)
299 , m_hasFontFaceOnlyValues(false) 298 , m_hasFontFaceOnlyValues(false)
300 , m_hadSyntacticallyValidCSSRule(false) 299 , m_hadSyntacticallyValidCSSRule(false)
301 , m_logErrors(false) 300 , m_logErrors(false)
302 , m_ignoreErrorsInDeclaration(false) 301 , m_ignoreErrorsInDeclaration(false)
(...skipping 11485 matching lines...) Expand 10 before | Expand all | Expand 10 after
11788 { 11787 {
11789 // The tokenizer checks for the construct of an+b. 11788 // The tokenizer checks for the construct of an+b.
11790 // However, since the {ident} rule precedes the {nth} rule, some of those 11789 // However, since the {ident} rule precedes the {nth} rule, some of those
11791 // tokens are identified as string literal. Furthermore we need to accept 11790 // tokens are identified as string literal. Furthermore we need to accept
11792 // "odd" and "even" which does not match to an+b. 11791 // "odd" and "even" which does not match to an+b.
11793 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") 11792 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even")
11794 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); 11793 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n");
11795 } 11794 }
11796 11795
11797 } 11796 }
OLDNEW
« no previous file with comments | « Source/core/accessibility/AccessibilityListBoxOption.cpp ('k') | Source/core/css/MediaList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698