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

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

Issue 698613002: Remove border-fit. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/css/CSSValueKeywords.in ('k') | sky/engine/core/rendering/RenderBlockFlow.h » ('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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 return valueID == CSSValueScript || valueID == CSSValueNone; 455 return valueID == CSSValueScript || valueID == CSSValueNone;
456 case CSSPropertyBackfaceVisibility: 456 case CSSPropertyBackfaceVisibility:
457 case CSSPropertyWebkitBackfaceVisibility: 457 case CSSPropertyWebkitBackfaceVisibility:
458 return valueID == CSSValueVisible || valueID == CSSValueHidden; 458 return valueID == CSSValueVisible || valueID == CSSValueHidden;
459 case CSSPropertyMixBlendMode: 459 case CSSPropertyMixBlendMode:
460 ASSERT(RuntimeEnabledFeatures::cssCompositingEnabled()); 460 ASSERT(RuntimeEnabledFeatures::cssCompositingEnabled());
461 return valueID == CSSValueNormal || valueID == CSSValueMultiply || value ID == CSSValueScreen || valueID == CSSValueOverlay 461 return valueID == CSSValueNormal || valueID == CSSValueMultiply || value ID == CSSValueScreen || valueID == CSSValueOverlay
462 || valueID == CSSValueDarken || valueID == CSSValueLighten || valueI D == CSSValueColorDodge || valueID == CSSValueColorBurn 462 || valueID == CSSValueDarken || valueID == CSSValueLighten || valueI D == CSSValueColorDodge || valueID == CSSValueColorBurn
463 || valueID == CSSValueHardLight || valueID == CSSValueSoftLight || v alueID == CSSValueDifference || valueID == CSSValueExclusion 463 || valueID == CSSValueHardLight || valueID == CSSValueSoftLight || v alueID == CSSValueDifference || valueID == CSSValueExclusion
464 || valueID == CSSValueHue || valueID == CSSValueSaturation || valueI D == CSSValueColor || valueID == CSSValueLuminosity; 464 || valueID == CSSValueHue || valueID == CSSValueSaturation || valueI D == CSSValueColor || valueID == CSSValueLuminosity;
465 case CSSPropertyWebkitBorderFit:
466 return valueID == CSSValueBorder || valueID == CSSValueLines;
467 case CSSPropertyWebkitBoxDecorationBreak: 465 case CSSPropertyWebkitBoxDecorationBreak:
468 return valueID == CSSValueClone || valueID == CSSValueSlice; 466 return valueID == CSSValueClone || valueID == CSSValueSlice;
469 case CSSPropertyAlignContent: 467 case CSSPropertyAlignContent:
470 // FIXME: Per CSS alignment, this property should accept an optional <ov erflow-position>. We should share this parsing code with 'justify-self'. 468 // FIXME: Per CSS alignment, this property should accept an optional <ov erflow-position>. We should share this parsing code with 'justify-self'.
471 return valueID == CSSValueFlexStart || valueID == CSSValueFlexEnd || val ueID == CSSValueCenter || valueID == CSSValueSpaceBetween || valueID == CSSValue SpaceAround || valueID == CSSValueStretch; 469 return valueID == CSSValueFlexStart || valueID == CSSValueFlexEnd || val ueID == CSSValueCenter || valueID == CSSValueSpaceBetween || valueID == CSSValue SpaceAround || valueID == CSSValueStretch;
472 case CSSPropertyAlignItems: 470 case CSSPropertyAlignItems:
473 // FIXME: Per CSS alignment, this property should accept the same argume nts as 'justify-self' so we should share its parsing code. 471 // FIXME: Per CSS alignment, this property should accept the same argume nts as 'justify-self' so we should share its parsing code.
474 return valueID == CSSValueFlexStart || valueID == CSSValueFlexEnd || val ueID == CSSValueCenter || valueID == CSSValueBaseline || valueID == CSSValueStre tch; 472 return valueID == CSSValueFlexStart || valueID == CSSValueFlexEnd || val ueID == CSSValueCenter || valueID == CSSValueBaseline || valueID == CSSValueStre tch;
475 case CSSPropertyAlignSelf: 473 case CSSPropertyAlignSelf:
476 // FIXME: Per CSS alignment, this property should accept the same argume nts as 'justify-self' so we should share its parsing code. 474 // FIXME: Per CSS alignment, this property should accept the same argume nts as 'justify-self' so we should share its parsing code.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 case CSSPropertyTextJustify: 561 case CSSPropertyTextJustify:
564 case CSSPropertyTextOverflow: 562 case CSSPropertyTextOverflow:
565 case CSSPropertyTextRendering: 563 case CSSPropertyTextRendering:
566 case CSSPropertyTouchActionDelay: 564 case CSSPropertyTouchActionDelay:
567 case CSSPropertyUnicodeBidi: 565 case CSSPropertyUnicodeBidi:
568 case CSSPropertyBackfaceVisibility: 566 case CSSPropertyBackfaceVisibility:
569 case CSSPropertyWebkitBackfaceVisibility: 567 case CSSPropertyWebkitBackfaceVisibility:
570 case CSSPropertyWebkitBorderAfterStyle: 568 case CSSPropertyWebkitBorderAfterStyle:
571 case CSSPropertyWebkitBorderBeforeStyle: 569 case CSSPropertyWebkitBorderBeforeStyle:
572 case CSSPropertyWebkitBorderEndStyle: 570 case CSSPropertyWebkitBorderEndStyle:
573 case CSSPropertyWebkitBorderFit:
574 case CSSPropertyWebkitBorderStartStyle: 571 case CSSPropertyWebkitBorderStartStyle:
575 case CSSPropertyWebkitBoxDecorationBreak: 572 case CSSPropertyWebkitBoxDecorationBreak:
576 case CSSPropertyAlignContent: 573 case CSSPropertyAlignContent:
577 case CSSPropertyFlexDirection: 574 case CSSPropertyFlexDirection:
578 case CSSPropertyFlexWrap: 575 case CSSPropertyFlexWrap:
579 case CSSPropertyJustifyContent: 576 case CSSPropertyJustifyContent:
580 case CSSPropertyFontKerning: 577 case CSSPropertyFontKerning:
581 case CSSPropertyWebkitFontSmoothing: 578 case CSSPropertyWebkitFontSmoothing:
582 case CSSPropertyWebkitLineBreak: 579 case CSSPropertyWebkitLineBreak:
583 case CSSPropertyWebkitMarginAfterCollapse: 580 case CSSPropertyWebkitMarginAfterCollapse:
(...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after
1863 m_observer->endProperty(isImportantFound, isPropertyParsed, m_tokenizer. safeUserStringTokenOffset(), errorType); 1860 m_observer->endProperty(isImportantFound, isPropertyParsed, m_tokenizer. safeUserStringTokenOffset(), errorType);
1864 } 1861 }
1865 1862
1866 void BisonCSSParser::startEndUnknownRule() 1863 void BisonCSSParser::startEndUnknownRule()
1867 { 1864 {
1868 if (m_observer) 1865 if (m_observer)
1869 m_observer->startEndUnknownRule(); 1866 m_observer->startEndUnknownRule();
1870 } 1867 }
1871 1868
1872 } 1869 }
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSValueKeywords.in ('k') | sky/engine/core/rendering/RenderBlockFlow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698