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

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

Issue 904613005: Remove position:relative. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/RenderBlock.cpp » ('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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay; 369 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay;
370 case CSSPropertyOverflowY: // visible | hidden | auto | overlay | -webkit-pa ged-x | -webkit-paged-y 370 case CSSPropertyOverflowY: // visible | hidden | auto | overlay | -webkit-pa ged-x | -webkit-paged-y
371 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPage dX || valueID == CSSValueWebkitPagedY; 371 return valueID == CSSValueVisible || valueID == CSSValueHidden || valueI D == CSSValueAuto || valueID == CSSValueOverlay || valueID == CSSValueWebkitPage dX || valueID == CSSValueWebkitPagedY;
372 case CSSPropertyPageBreakAfter: // auto | always | avoid | left | right 372 case CSSPropertyPageBreakAfter: // auto | always | avoid | left | right
373 case CSSPropertyPageBreakBefore: 373 case CSSPropertyPageBreakBefore:
374 case CSSPropertyPageBreakInside: // avoid | auto 374 case CSSPropertyPageBreakInside: // avoid | auto
375 case CSSPropertyPointerEvents: 375 case CSSPropertyPointerEvents:
376 // none | visiblePainted | visibleFill | visibleStroke | visible | 376 // none | visiblePainted | visibleFill | visibleStroke | visible |
377 // painted | fill | stroke | auto | all | bounding-box 377 // painted | fill | stroke | auto | all | bounding-box
378 return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblepainted && valueID <= CSSValueBoundingBox); 378 return valueID == CSSValueVisible || valueID == CSSValueNone || valueID == CSSValueAll || valueID == CSSValueAuto || (valueID >= CSSValueVisiblepainted && valueID <= CSSValueBoundingBox);
379 case CSSPropertyPosition: // static | relative | absolute | fixed 379 case CSSPropertyPosition: // static | absolute
380 return valueID == CSSValueStatic || valueID == CSSValueRelative || value ID == CSSValueAbsolute || valueID == CSSValueFixed; 380 return valueID == CSSValueStatic || valueID == CSSValueAbsolute;
381 case CSSPropertySpeak: // none | normal | spell-out | digits | literal-punct uation | no-punctuation 381 case CSSPropertySpeak: // none | normal | spell-out | digits | literal-punct uation | no-punctuation
382 return valueID == CSSValueNone || valueID == CSSValueNormal || valueID = = CSSValueSpellOut || valueID == CSSValueDigits || valueID == CSSValueLiteralPun ctuation || valueID == CSSValueNoPunctuation; 382 return valueID == CSSValueNone || valueID == CSSValueNormal || valueID = = CSSValueSpellOut || valueID == CSSValueDigits || valueID == CSSValueLiteralPun ctuation || valueID == CSSValueNoPunctuation;
383 case CSSPropertyTableLayout: // auto | fixed 383 case CSSPropertyTableLayout: // auto | fixed
384 return valueID == CSSValueAuto || valueID == CSSValueFixed; 384 return valueID == CSSValueAuto || valueID == CSSValueFixed;
385 case CSSPropertyTextAlignLast: 385 case CSSPropertyTextAlignLast:
386 // auto | start | end | left | right | center | justify 386 // auto | start | end | left | right | center | justify
387 ASSERT(RuntimeEnabledFeatures::css3TextEnabled()); 387 ASSERT(RuntimeEnabledFeatures::css3TextEnabled());
388 return (valueID >= CSSValueLeft && valueID <= CSSValueJustify) || valueI D == CSSValueStart || valueID == CSSValueEnd || valueID == CSSValueAuto; 388 return (valueID >= CSSValueLeft && valueID <= CSSValueJustify) || valueI D == CSSValueStart || valueID == CSSValueEnd || valueID == CSSValueAuto;
389 case CSSPropertyTextDecorationStyle: 389 case CSSPropertyTextDecorationStyle:
390 // solid | double | dotted | dashed | wavy 390 // solid | double | dotted | dashed | wavy
(...skipping 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 m_observer->endProperty(isPropertyParsed, m_tokenizer.safeUserStringToke nOffset(), errorType); 1596 m_observer->endProperty(isPropertyParsed, m_tokenizer.safeUserStringToke nOffset(), errorType);
1597 } 1597 }
1598 1598
1599 void BisonCSSParser::startEndUnknownRule() 1599 void BisonCSSParser::startEndUnknownRule()
1600 { 1600 {
1601 if (m_observer) 1601 if (m_observer)
1602 m_observer->startEndUnknownRule(); 1602 m_observer->startEndUnknownRule();
1603 } 1603 }
1604 1604
1605 } 1605 }
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSValueKeywords.in ('k') | sky/engine/core/rendering/RenderBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698