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

Side by Side Diff: Source/core/css/parser/BisonCSSParser-in.cpp

Issue 357663002: [Nit] Removing traces of lazy-block implementation from BisonCSSParser-in.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 case CSSPropertyCaptionSide: // top | bottom | left | right 381 case CSSPropertyCaptionSide: // top | bottom | left | right
382 return valueID == CSSValueLeft || valueID == CSSValueRight || valueID == CSSValueTop || valueID == CSSValueBottom; 382 return valueID == CSSValueLeft || valueID == CSSValueRight || valueID == CSSValueTop || valueID == CSSValueBottom;
383 case CSSPropertyClear: // none | left | right | both 383 case CSSPropertyClear: // none | left | right | both
384 return valueID == CSSValueNone || valueID == CSSValueLeft || valueID == CSSValueRight || valueID == CSSValueBoth; 384 return valueID == CSSValueNone || valueID == CSSValueLeft || valueID == CSSValueRight || valueID == CSSValueBoth;
385 case CSSPropertyDirection: // ltr | rtl 385 case CSSPropertyDirection: // ltr | rtl
386 return valueID == CSSValueLtr || valueID == CSSValueRtl; 386 return valueID == CSSValueLtr || valueID == CSSValueRtl;
387 case CSSPropertyDisplay: 387 case CSSPropertyDisplay:
388 // inline | block | list-item | inline-block | table | 388 // inline | block | list-item | inline-block | table |
389 // inline-table | table-row-group | table-header-group | table-footer-gr oup | table-row | 389 // inline-table | table-row-group | table-header-group | table-footer-gr oup | table-row |
390 // table-column-group | table-column | table-cell | table-caption | -web kit-box | -webkit-inline-box | none 390 // table-column-group | table-column | table-cell | table-caption | -web kit-box | -webkit-inline-box | none
391 // flex | inline-flex | -webkit-flex | -webkit-inline-flex | grid | inli ne-grid | lazy-block 391 // flex | inline-flex | -webkit-flex | -webkit-inline-flex | grid | inli ne-grid
392 return (valueID >= CSSValueInline && valueID <= CSSValueInlineFlex) || v alueID == CSSValueWebkitFlex || valueID == CSSValueWebkitInlineFlex || valueID = = CSSValueNone 392 return (valueID >= CSSValueInline && valueID <= CSSValueInlineFlex) || v alueID == CSSValueWebkitFlex || valueID == CSSValueWebkitInlineFlex || valueID = = CSSValueNone
393 || (RuntimeEnabledFeatures::cssGridLayoutEnabled() && (valueID == CS SValueGrid || valueID == CSSValueInlineGrid)); 393 || (RuntimeEnabledFeatures::cssGridLayoutEnabled() && (valueID == CS SValueGrid || valueID == CSSValueInlineGrid));
394 case CSSPropertyEmptyCells: // show | hide 394 case CSSPropertyEmptyCells: // show | hide
395 return valueID == CSSValueShow || valueID == CSSValueHide; 395 return valueID == CSSValueShow || valueID == CSSValueHide;
396 case CSSPropertyFloat: // left | right | none | center (for buggy CSS, maps to none) 396 case CSSPropertyFloat: // left | right | none | center (for buggy CSS, maps to none)
397 return valueID == CSSValueLeft || valueID == CSSValueRight || valueID == CSSValueNone || valueID == CSSValueCenter; 397 return valueID == CSSValueLeft || valueID == CSSValueRight || valueID == CSSValueNone || valueID == CSSValueCenter;
398 case CSSPropertyFontStyle: // normal | italic | oblique 398 case CSSPropertyFontStyle: // normal | italic | oblique
399 return valueID == CSSValueNormal || valueID == CSSValueItalic || valueID == CSSValueOblique; 399 return valueID == CSSValueNormal || valueID == CSSValueItalic || valueID == CSSValueOblique;
400 case CSSPropertyFontStretch: // normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra- expanded 400 case CSSPropertyFontStretch: // normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra- expanded
401 return valueID == CSSValueNormal || valueID == CSSValueUltraCondensed || valueID == CSSValueExtraCondensed || valueID == CSSValueCondensed || valueID == CSSValueSemiCondensed || valueID == CSSValueSemiExpanded || valueID == CSSValue Expanded || valueID == CSSValueExtraExpanded || valueID == CSSValueUltraExpanded ; 401 return valueID == CSSValueNormal || valueID == CSSValueUltraCondensed || valueID == CSSValueExtraCondensed || valueID == CSSValueCondensed || valueID == CSSValueSemiCondensed || valueID == CSSValueSemiExpanded || valueID == CSSValue Expanded || valueID == CSSValueExtraExpanded || valueID == CSSValueUltraExpanded ;
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after
2094 rule->setProperties(createStylePropertySet()); 2094 rule->setProperties(createStylePropertySet());
2095 clearProperties(); 2095 clearProperties();
2096 2096
2097 StyleRuleViewport* result = rule.get(); 2097 StyleRuleViewport* result = rule.get();
2098 m_parsedRules.append(rule.release()); 2098 m_parsedRules.append(rule.release());
2099 2099
2100 return result; 2100 return result;
2101 } 2101 }
2102 2102
2103 } 2103 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698