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

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

Issue 1075023002: Remove CSS table-layout property. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « sky/engine/core/css/CSSProperties.in ('k') | sky/engine/core/rendering/style/RenderStyle.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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 case CSSPropertyOverflowX: // visible | hidden | auto | overlay 357 case CSSPropertyOverflowX: // visible | hidden | auto | overlay
358 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay; 358 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay;
359 case CSSPropertyOverflowY: // visible | hidden | auto | overlay | -webkit-pa ged-x | -webkit-paged-y 359 case CSSPropertyOverflowY: // visible | hidden | auto | overlay | -webkit-pa ged-x | -webkit-paged-y
360 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPage dX || valueID == CSSValueWebkitPagedY; 360 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPage dX || valueID == CSSValueWebkitPagedY;
361 case CSSPropertyPointerEvents: 361 case CSSPropertyPointerEvents:
362 // none | visiblePainted | visibleFill | visibleStroke | visible | 362 // none | visiblePainted | visibleFill | visibleStroke | visible |
363 // painted | fill | stroke | auto | all | bounding-box 363 // painted | fill | stroke | auto | all | bounding-box
364 return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblepainted && valueID <= CSSValueBoundingBox); 364 return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblepainted && valueID <= CSSValueBoundingBox);
365 case CSSPropertyPosition: // static | absolute 365 case CSSPropertyPosition: // static | absolute
366 return valueID == CSSValueStatic || valueID == CSSValueAbsolute; 366 return valueID == CSSValueStatic || valueID == CSSValueAbsolute;
367 case CSSPropertyTableLayout: // auto | fixed
368 return valueID == CSSValueAuto || valueID == CSSValueFixed;
369 case CSSPropertyTextAlignLast: 367 case CSSPropertyTextAlignLast:
370 // auto | start | end | left | right | center | justify 368 // auto | start | end | left | right | center | justify
371 ASSERT(RuntimeEnabledFeatures::css3TextEnabled()); 369 ASSERT(RuntimeEnabledFeatures::css3TextEnabled());
372 return (valueID >= CSSValueLeft && valueID <= CSSValueJustify) || valueI D == CSSValueStart || valueID == CSSValueEnd || valueID == CSSValueAuto; 370 return (valueID >= CSSValueLeft && valueID <= CSSValueJustify) || valueI D == CSSValueStart || valueID == CSSValueEnd || valueID == CSSValueAuto;
373 case CSSPropertyTextDecorationStyle: 371 case CSSPropertyTextDecorationStyle:
374 // solid | double | dotted | dashed | wavy 372 // solid | double | dotted | dashed | wavy
375 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled()); 373 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled());
376 return valueID == CSSValueSolid || valueID == CSSValueDouble || valueID == CSSValueDotted || valueID == CSSValueDashed || valueID == CSSValueWavy; 374 return valueID == CSSValueSolid || valueID == CSSValueDouble || valueID == CSSValueDotted || valueID == CSSValueDashed || valueID == CSSValueWavy;
377 case CSSPropertyTextJustify: 375 case CSSPropertyTextJustify:
378 // auto | none | inter-word | distribute 376 // auto | none | inter-word | distribute
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 case CSSPropertyFontStyle: 456 case CSSPropertyFontStyle:
459 case CSSPropertyFontStretch: 457 case CSSPropertyFontStretch:
460 case CSSPropertyImageRendering: 458 case CSSPropertyImageRendering:
461 case CSSPropertyObjectFit: 459 case CSSPropertyObjectFit:
462 case CSSPropertyOutlineStyle: 460 case CSSPropertyOutlineStyle:
463 case CSSPropertyOverflowWrap: 461 case CSSPropertyOverflowWrap:
464 case CSSPropertyOverflowX: 462 case CSSPropertyOverflowX:
465 case CSSPropertyOverflowY: 463 case CSSPropertyOverflowY:
466 case CSSPropertyPointerEvents: 464 case CSSPropertyPointerEvents:
467 case CSSPropertyPosition: 465 case CSSPropertyPosition:
468 case CSSPropertyTableLayout:
469 case CSSPropertyTextAlignLast: 466 case CSSPropertyTextAlignLast:
470 case CSSPropertyTextDecorationStyle: 467 case CSSPropertyTextDecorationStyle:
471 case CSSPropertyTextJustify: 468 case CSSPropertyTextJustify:
472 case CSSPropertyTextOverflow: 469 case CSSPropertyTextOverflow:
473 case CSSPropertyTextRendering: 470 case CSSPropertyTextRendering:
474 case CSSPropertyTouchActionDelay: 471 case CSSPropertyTouchActionDelay:
475 case CSSPropertyUnicodeBidi: 472 case CSSPropertyUnicodeBidi:
476 case CSSPropertyBackfaceVisibility: 473 case CSSPropertyBackfaceVisibility:
477 case CSSPropertyWebkitBackfaceVisibility: 474 case CSSPropertyWebkitBackfaceVisibility:
478 case CSSPropertyWebkitBorderAfterStyle: 475 case CSSPropertyWebkitBorderAfterStyle:
(...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 m_observer->endProperty(isPropertyParsed, m_tokenizer.safeUserStringToke nOffset(), errorType); 1569 m_observer->endProperty(isPropertyParsed, m_tokenizer.safeUserStringToke nOffset(), errorType);
1573 } 1570 }
1574 1571
1575 void BisonCSSParser::startEndUnknownRule() 1572 void BisonCSSParser::startEndUnknownRule()
1576 { 1573 {
1577 if (m_observer) 1574 if (m_observer)
1578 m_observer->startEndUnknownRule(); 1575 m_observer->startEndUnknownRule();
1579 } 1576 }
1580 1577
1581 } 1578 }
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSProperties.in ('k') | sky/engine/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698