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

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

Issue 16959008: [CSS Grid Layout] Rename grid-{rows|columns} to grid-definition-{rows|columns} (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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
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 2417 matching lines...) Expand 10 before | Expand all | Expand 10 after
2428 return false; 2428 return false;
2429 } 2429 }
2430 2430
2431 case CSSPropertyGridAutoColumns: 2431 case CSSPropertyGridAutoColumns:
2432 case CSSPropertyGridAutoRows: 2432 case CSSPropertyGridAutoRows:
2433 if (!RuntimeEnabledFeatures::cssGridLayoutEnabled()) 2433 if (!RuntimeEnabledFeatures::cssGridLayoutEnabled())
2434 return false; 2434 return false;
2435 parsedValue = parseGridTrackSize(); 2435 parsedValue = parseGridTrackSize();
2436 break; 2436 break;
2437 2437
2438 case CSSPropertyGridColumns: 2438 case CSSPropertyGridDefinitionColumns:
2439 case CSSPropertyGridRows: 2439 case CSSPropertyGridDefinitionRows:
2440 if (!RuntimeEnabledFeatures::cssGridLayoutEnabled()) 2440 if (!RuntimeEnabledFeatures::cssGridLayoutEnabled())
2441 return false; 2441 return false;
2442 return parseGridTrackList(propId, important); 2442 return parseGridTrackList(propId, important);
2443 2443
2444 case CSSPropertyGridStart: 2444 case CSSPropertyGridStart:
2445 case CSSPropertyGridEnd: 2445 case CSSPropertyGridEnd:
2446 case CSSPropertyGridBefore: 2446 case CSSPropertyGridBefore:
2447 case CSSPropertyGridAfter: 2447 case CSSPropertyGridAfter:
2448 if (!RuntimeEnabledFeatures::cssGridLayoutEnabled()) 2448 if (!RuntimeEnabledFeatures::cssGridLayoutEnabled())
2449 return false; 2449 return false;
(...skipping 9358 matching lines...) Expand 10 before | Expand all | Expand 10 after
11808 { 11808 {
11809 // The tokenizer checks for the construct of an+b. 11809 // The tokenizer checks for the construct of an+b.
11810 // However, since the {ident} rule precedes the {nth} rule, some of those 11810 // However, since the {ident} rule precedes the {nth} rule, some of those
11811 // tokens are identified as string literal. Furthermore we need to accept 11811 // tokens are identified as string literal. Furthermore we need to accept
11812 // "odd" and "even" which does not match to an+b. 11812 // "odd" and "even" which does not match to an+b.
11813 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") 11813 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even")
11814 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); 11814 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n");
11815 } 11815 }
11816 11816
11817 } 11817 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698