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

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

Issue 1068383005: Remove CSSPropertySpeak (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/CSSValueKeywords.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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPage dX || valueID == CSSValueWebkitPagedY; 362 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPage dX || valueID == CSSValueWebkitPagedY;
363 case CSSPropertyPageBreakAfter: // auto | always | avoid | left | right 363 case CSSPropertyPageBreakAfter: // auto | always | avoid | left | right
364 case CSSPropertyPageBreakBefore: 364 case CSSPropertyPageBreakBefore:
365 case CSSPropertyPageBreakInside: // avoid | auto 365 case CSSPropertyPageBreakInside: // avoid | auto
366 case CSSPropertyPointerEvents: 366 case CSSPropertyPointerEvents:
367 // none | visiblePainted | visibleFill | visibleStroke | visible | 367 // none | visiblePainted | visibleFill | visibleStroke | visible |
368 // painted | fill | stroke | auto | all | bounding-box 368 // painted | fill | stroke | auto | all | bounding-box
369 return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblepainted && valueID <= CSSValueBoundingBox); 369 return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblepainted && valueID <= CSSValueBoundingBox);
370 case CSSPropertyPosition: // static | absolute 370 case CSSPropertyPosition: // static | absolute
371 return valueID == CSSValueStatic || valueID == CSSValueAbsolute; 371 return valueID == CSSValueStatic || valueID == CSSValueAbsolute;
372 case CSSPropertySpeak: // none | normal | spell-out | digits | literal-punct uation | no-punctuation
373 return valueID == CSSValueNone || valueID == CSSValueNormal || valueID = = CSSValueSpellOut || valueID == CSSValueDigits || valueID == CSSValueLiteralPun ctuation || valueID == CSSValueNoPunctuation;
374 case CSSPropertyTableLayout: // auto | fixed 372 case CSSPropertyTableLayout: // auto | fixed
375 return valueID == CSSValueAuto || valueID == CSSValueFixed; 373 return valueID == CSSValueAuto || valueID == CSSValueFixed;
376 case CSSPropertyTextAlignLast: 374 case CSSPropertyTextAlignLast:
377 // auto | start | end | left | right | center | justify 375 // auto | start | end | left | right | center | justify
378 ASSERT(RuntimeEnabledFeatures::css3TextEnabled()); 376 ASSERT(RuntimeEnabledFeatures::css3TextEnabled());
379 return (valueID >= CSSValueLeft && valueID <= CSSValueJustify) || valueI D == CSSValueStart || valueID == CSSValueEnd || valueID == CSSValueAuto; 377 return (valueID >= CSSValueLeft && valueID <= CSSValueJustify) || valueI D == CSSValueStart || valueID == CSSValueEnd || valueID == CSSValueAuto;
380 case CSSPropertyTextDecorationStyle: 378 case CSSPropertyTextDecorationStyle:
381 // solid | double | dotted | dashed | wavy 379 // solid | double | dotted | dashed | wavy
382 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled()); 380 ASSERT(RuntimeEnabledFeatures::css3TextDecorationsEnabled());
383 return valueID == CSSValueSolid || valueID == CSSValueDouble || valueID == CSSValueDotted || valueID == CSSValueDashed || valueID == CSSValueWavy; 381 return valueID == CSSValueSolid || valueID == CSSValueDouble || valueID == CSSValueDotted || valueID == CSSValueDashed || valueID == CSSValueWavy;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 case CSSPropertyObjectFit: 467 case CSSPropertyObjectFit:
470 case CSSPropertyOutlineStyle: 468 case CSSPropertyOutlineStyle:
471 case CSSPropertyOverflowWrap: 469 case CSSPropertyOverflowWrap:
472 case CSSPropertyOverflowX: 470 case CSSPropertyOverflowX:
473 case CSSPropertyOverflowY: 471 case CSSPropertyOverflowY:
474 case CSSPropertyPageBreakAfter: 472 case CSSPropertyPageBreakAfter:
475 case CSSPropertyPageBreakBefore: 473 case CSSPropertyPageBreakBefore:
476 case CSSPropertyPageBreakInside: 474 case CSSPropertyPageBreakInside:
477 case CSSPropertyPointerEvents: 475 case CSSPropertyPointerEvents:
478 case CSSPropertyPosition: 476 case CSSPropertyPosition:
479 case CSSPropertySpeak:
480 case CSSPropertyTableLayout: 477 case CSSPropertyTableLayout:
481 case CSSPropertyTextAlignLast: 478 case CSSPropertyTextAlignLast:
482 case CSSPropertyTextDecorationStyle: 479 case CSSPropertyTextDecorationStyle:
483 case CSSPropertyTextJustify: 480 case CSSPropertyTextJustify:
484 case CSSPropertyTextOverflow: 481 case CSSPropertyTextOverflow:
485 case CSSPropertyTextRendering: 482 case CSSPropertyTextRendering:
486 case CSSPropertyTouchActionDelay: 483 case CSSPropertyTouchActionDelay:
487 case CSSPropertyUnicodeBidi: 484 case CSSPropertyUnicodeBidi:
488 case CSSPropertyBackfaceVisibility: 485 case CSSPropertyBackfaceVisibility:
489 case CSSPropertyWebkitBackfaceVisibility: 486 case CSSPropertyWebkitBackfaceVisibility:
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1584 m_observer->endProperty(isPropertyParsed, m_tokenizer.safeUserStringToke nOffset(), errorType); 1581 m_observer->endProperty(isPropertyParsed, m_tokenizer.safeUserStringToke nOffset(), errorType);
1585 } 1582 }
1586 1583
1587 void BisonCSSParser::startEndUnknownRule() 1584 void BisonCSSParser::startEndUnknownRule()
1588 { 1585 {
1589 if (m_observer) 1586 if (m_observer)
1590 m_observer->startEndUnknownRule(); 1587 m_observer->startEndUnknownRule();
1591 } 1588 }
1592 1589
1593 } 1590 }
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSValueKeywords.in ('k') | sky/engine/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698