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

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

Issue 762473003: Remove webkit-print-color-adjust (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 return valueID == CSSValueNowrap || valueID == CSSValueWrap || valueID = = CSSValueWrapReverse; 456 return valueID == CSSValueNowrap || valueID == CSSValueWrap || valueID = = CSSValueWrapReverse;
457 case CSSPropertyJustifyContent: 457 case CSSPropertyJustifyContent:
458 // FIXME: Per CSS alignment, this property should accept an optional <ov erflow-position>. We should share this parsing code with 'justify-self'. 458 // FIXME: Per CSS alignment, this property should accept an optional <ov erflow-position>. We should share this parsing code with 'justify-self'.
459 return valueID == CSSValueFlexStart || valueID == CSSValueFlexEnd || val ueID == CSSValueCenter || valueID == CSSValueSpaceBetween || valueID == CSSValue SpaceAround; 459 return valueID == CSSValueFlexStart || valueID == CSSValueFlexEnd || val ueID == CSSValueCenter || valueID == CSSValueSpaceBetween || valueID == CSSValue SpaceAround;
460 case CSSPropertyFontKerning: 460 case CSSPropertyFontKerning:
461 return valueID == CSSValueAuto || valueID == CSSValueNormal || valueID = = CSSValueNone; 461 return valueID == CSSValueAuto || valueID == CSSValueNormal || valueID = = CSSValueNone;
462 case CSSPropertyWebkitFontSmoothing: 462 case CSSPropertyWebkitFontSmoothing:
463 return valueID == CSSValueAuto || valueID == CSSValueNone || valueID == CSSValueAntialiased || valueID == CSSValueSubpixelAntialiased; 463 return valueID == CSSValueAuto || valueID == CSSValueNone || valueID == CSSValueAntialiased || valueID == CSSValueSubpixelAntialiased;
464 case CSSPropertyWebkitLineBreak: // auto | loose | normal | strict | after-w hite-space 464 case CSSPropertyWebkitLineBreak: // auto | loose | normal | strict | after-w hite-space
465 return valueID == CSSValueAuto || valueID == CSSValueLoose || valueID == CSSValueNormal || valueID == CSSValueStrict || valueID == CSSValueAfterWhiteSpa ce; 465 return valueID == CSSValueAuto || valueID == CSSValueLoose || valueID == CSSValueNormal || valueID == CSSValueStrict || valueID == CSSValueAfterWhiteSpa ce;
466 case CSSPropertyWebkitPrintColorAdjust:
467 return valueID == CSSValueExact || valueID == CSSValueEconomy;
468 case CSSPropertyWebkitRtlOrdering: 466 case CSSPropertyWebkitRtlOrdering:
469 return valueID == CSSValueLogical || valueID == CSSValueVisual; 467 return valueID == CSSValueLogical || valueID == CSSValueVisual;
470 case CSSPropertyWebkitTextEmphasisPosition: 468 case CSSPropertyWebkitTextEmphasisPosition:
471 return valueID == CSSValueOver || valueID == CSSValueUnder; 469 return valueID == CSSValueOver || valueID == CSSValueUnder;
472 case CSSPropertyTransformStyle: 470 case CSSPropertyTransformStyle:
473 case CSSPropertyWebkitTransformStyle: 471 case CSSPropertyWebkitTransformStyle:
474 return valueID == CSSValueFlat || valueID == CSSValuePreserve3d; 472 return valueID == CSSValueFlat || valueID == CSSValuePreserve3d;
475 case CSSPropertyWebkitUserDrag: // auto | none | element 473 case CSSPropertyWebkitUserDrag: // auto | none | element
476 return valueID == CSSValueAuto || valueID == CSSValueNone || valueID == CSSValueElement; 474 return valueID == CSSValueAuto || valueID == CSSValueNone || valueID == CSSValueElement;
477 case CSSPropertyWebkitUserModify: // read-only | read-write 475 case CSSPropertyWebkitUserModify: // read-only | read-write
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 case CSSPropertyWebkitBorderEndStyle: 536 case CSSPropertyWebkitBorderEndStyle:
539 case CSSPropertyWebkitBorderStartStyle: 537 case CSSPropertyWebkitBorderStartStyle:
540 case CSSPropertyWebkitBoxDecorationBreak: 538 case CSSPropertyWebkitBoxDecorationBreak:
541 case CSSPropertyAlignContent: 539 case CSSPropertyAlignContent:
542 case CSSPropertyFlexDirection: 540 case CSSPropertyFlexDirection:
543 case CSSPropertyFlexWrap: 541 case CSSPropertyFlexWrap:
544 case CSSPropertyJustifyContent: 542 case CSSPropertyJustifyContent:
545 case CSSPropertyFontKerning: 543 case CSSPropertyFontKerning:
546 case CSSPropertyWebkitFontSmoothing: 544 case CSSPropertyWebkitFontSmoothing:
547 case CSSPropertyWebkitLineBreak: 545 case CSSPropertyWebkitLineBreak:
548 case CSSPropertyWebkitPrintColorAdjust:
549 case CSSPropertyWebkitRtlOrdering: 546 case CSSPropertyWebkitRtlOrdering:
550 case CSSPropertyWebkitTextEmphasisPosition: 547 case CSSPropertyWebkitTextEmphasisPosition:
551 case CSSPropertyTransformStyle: 548 case CSSPropertyTransformStyle:
552 case CSSPropertyWebkitTransformStyle: 549 case CSSPropertyWebkitTransformStyle:
553 case CSSPropertyWebkitUserDrag: 550 case CSSPropertyWebkitUserDrag:
554 case CSSPropertyWebkitUserModify: 551 case CSSPropertyWebkitUserModify:
555 case CSSPropertyWebkitUserSelect: 552 case CSSPropertyWebkitUserSelect:
556 case CSSPropertyWhiteSpace: 553 case CSSPropertyWhiteSpace:
557 case CSSPropertyWordBreak: 554 case CSSPropertyWordBreak:
558 case CSSPropertyWordWrap: 555 case CSSPropertyWordWrap:
(...skipping 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after
1821 m_observer->endProperty(isImportantFound, isPropertyParsed, m_tokenizer. safeUserStringTokenOffset(), errorType); 1818 m_observer->endProperty(isImportantFound, isPropertyParsed, m_tokenizer. safeUserStringTokenOffset(), errorType);
1822 } 1819 }
1823 1820
1824 void BisonCSSParser::startEndUnknownRule() 1821 void BisonCSSParser::startEndUnknownRule()
1825 { 1822 {
1826 if (m_observer) 1823 if (m_observer)
1827 m_observer->startEndUnknownRule(); 1824 m_observer->startEndUnknownRule();
1828 } 1825 }
1829 1826
1830 } 1827 }
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