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

Side by Side Diff: Source/core/css/CSSParser.cpp

Issue 14773036: Remove ACCELERATED_OVERFLOW_SCROLLING as it is always off. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove ACCELERATED_OVERFLOW_SCROLLING as it is always off. Created 7 years, 6 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 | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSProperty.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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 break; 826 break;
827 case CSSPropertyWebkitMarqueeDirection: 827 case CSSPropertyWebkitMarqueeDirection:
828 if (valueID == CSSValueForwards || valueID == CSSValueBackwards || value ID == CSSValueAhead || valueID == CSSValueReverse || valueID == CSSValueLeft || valueID == CSSValueRight || valueID == CSSValueDown 828 if (valueID == CSSValueForwards || valueID == CSSValueBackwards || value ID == CSSValueAhead || valueID == CSSValueReverse || valueID == CSSValueLeft || valueID == CSSValueRight || valueID == CSSValueDown
829 || valueID == CSSValueUp || valueID == CSSValueAuto) 829 || valueID == CSSValueUp || valueID == CSSValueAuto)
830 return true; 830 return true;
831 break; 831 break;
832 case CSSPropertyWebkitMarqueeStyle: 832 case CSSPropertyWebkitMarqueeStyle:
833 if (valueID == CSSValueNone || valueID == CSSValueSlide || valueID == CS SValueScroll || valueID == CSSValueAlternate) 833 if (valueID == CSSValueNone || valueID == CSSValueSlide || valueID == CS SValueScroll || valueID == CSSValueAlternate)
834 return true; 834 return true;
835 break; 835 break;
836 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING)
837 case CSSPropertyWebkitOverflowScrolling:
838 if (valueID == CSSValueAuto || valueID == CSSValueTouch)
839 return true;
840 break;
841 #endif
842 case CSSPropertyWebkitPrintColorAdjust: 836 case CSSPropertyWebkitPrintColorAdjust:
843 if (valueID == CSSValueExact || valueID == CSSValueEconomy) 837 if (valueID == CSSValueExact || valueID == CSSValueEconomy)
844 return true; 838 return true;
845 break; 839 break;
846 case CSSPropertyWebkitRegionBreakAfter: 840 case CSSPropertyWebkitRegionBreakAfter:
847 case CSSPropertyWebkitRegionBreakBefore: 841 case CSSPropertyWebkitRegionBreakBefore:
848 if (RuntimeEnabledFeatures::cssRegionsEnabled() && (valueID == CSSValueA uto || valueID == CSSValueAlways || valueID == CSSValueAvoid || valueID == CSSVa lueLeft || valueID == CSSValueRight)) 842 if (RuntimeEnabledFeatures::cssRegionsEnabled() && (valueID == CSSValueA uto || valueID == CSSValueAlways || valueID == CSSValueAvoid || valueID == CSSVa lueLeft || valueID == CSSValueRight))
849 return true; 843 return true;
850 break; 844 break;
851 case CSSPropertyWebkitRegionBreakInside: 845 case CSSPropertyWebkitRegionBreakInside:
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 case CSSPropertyGridAutoFlow: 1000 case CSSPropertyGridAutoFlow:
1007 case CSSPropertyWebkitLineAlign: 1001 case CSSPropertyWebkitLineAlign:
1008 case CSSPropertyWebkitLineBreak: 1002 case CSSPropertyWebkitLineBreak:
1009 case CSSPropertyWebkitLineSnap: 1003 case CSSPropertyWebkitLineSnap:
1010 case CSSPropertyWebkitMarginAfterCollapse: 1004 case CSSPropertyWebkitMarginAfterCollapse:
1011 case CSSPropertyWebkitMarginBeforeCollapse: 1005 case CSSPropertyWebkitMarginBeforeCollapse:
1012 case CSSPropertyWebkitMarginBottomCollapse: 1006 case CSSPropertyWebkitMarginBottomCollapse:
1013 case CSSPropertyWebkitMarginTopCollapse: 1007 case CSSPropertyWebkitMarginTopCollapse:
1014 case CSSPropertyWebkitMarqueeDirection: 1008 case CSSPropertyWebkitMarqueeDirection:
1015 case CSSPropertyWebkitMarqueeStyle: 1009 case CSSPropertyWebkitMarqueeStyle:
1016 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING)
1017 case CSSPropertyWebkitOverflowScrolling:
1018 #endif
1019 case CSSPropertyWebkitPrintColorAdjust: 1010 case CSSPropertyWebkitPrintColorAdjust:
1020 case CSSPropertyWebkitRegionBreakAfter: 1011 case CSSPropertyWebkitRegionBreakAfter:
1021 case CSSPropertyWebkitRegionBreakBefore: 1012 case CSSPropertyWebkitRegionBreakBefore:
1022 case CSSPropertyWebkitRegionBreakInside: 1013 case CSSPropertyWebkitRegionBreakInside:
1023 case CSSPropertyWebkitRegionFragment: 1014 case CSSPropertyWebkitRegionFragment:
1024 case CSSPropertyWebkitRtlOrdering: 1015 case CSSPropertyWebkitRtlOrdering:
1025 case CSSPropertyWebkitRubyPosition: 1016 case CSSPropertyWebkitRubyPosition:
1026 #if ENABLE(CSS3_TEXT) 1017 #if ENABLE(CSS3_TEXT)
1027 case CSSPropertyWebkitTextAlignLast: 1018 case CSSPropertyWebkitTextAlignLast:
1028 #endif // CSS3_TEXT 1019 #endif // CSS3_TEXT
(...skipping 1776 matching lines...) Expand 10 before | Expand all | Expand 10 after
2805 case CSSPropertyGridAutoFlow: 2796 case CSSPropertyGridAutoFlow:
2806 case CSSPropertyWebkitLineAlign: 2797 case CSSPropertyWebkitLineAlign:
2807 case CSSPropertyWebkitLineBreak: 2798 case CSSPropertyWebkitLineBreak:
2808 case CSSPropertyWebkitLineSnap: 2799 case CSSPropertyWebkitLineSnap:
2809 case CSSPropertyWebkitMarginAfterCollapse: 2800 case CSSPropertyWebkitMarginAfterCollapse:
2810 case CSSPropertyWebkitMarginBeforeCollapse: 2801 case CSSPropertyWebkitMarginBeforeCollapse:
2811 case CSSPropertyWebkitMarginBottomCollapse: 2802 case CSSPropertyWebkitMarginBottomCollapse:
2812 case CSSPropertyWebkitMarginTopCollapse: 2803 case CSSPropertyWebkitMarginTopCollapse:
2813 case CSSPropertyWebkitMarqueeDirection: 2804 case CSSPropertyWebkitMarqueeDirection:
2814 case CSSPropertyWebkitMarqueeStyle: 2805 case CSSPropertyWebkitMarqueeStyle:
2815 #if ENABLE(ACCELERATED_OVERFLOW_SCROLLING)
2816 case CSSPropertyWebkitOverflowScrolling:
2817 #endif
2818 case CSSPropertyWebkitPrintColorAdjust: 2806 case CSSPropertyWebkitPrintColorAdjust:
2819 case CSSPropertyWebkitRegionBreakAfter: 2807 case CSSPropertyWebkitRegionBreakAfter:
2820 case CSSPropertyWebkitRegionBreakBefore: 2808 case CSSPropertyWebkitRegionBreakBefore:
2821 case CSSPropertyWebkitRegionBreakInside: 2809 case CSSPropertyWebkitRegionBreakInside:
2822 case CSSPropertyWebkitRegionFragment: 2810 case CSSPropertyWebkitRegionFragment:
2823 case CSSPropertyWebkitRtlOrdering: 2811 case CSSPropertyWebkitRtlOrdering:
2824 case CSSPropertyWebkitRubyPosition: 2812 case CSSPropertyWebkitRubyPosition:
2825 #if ENABLE(CSS3_TEXT) 2813 #if ENABLE(CSS3_TEXT)
2826 case CSSPropertyWebkitTextAlignLast: 2814 case CSSPropertyWebkitTextAlignLast:
2827 #endif // CSS3_TEXT 2815 #endif // CSS3_TEXT
(...skipping 8971 matching lines...) Expand 10 before | Expand all | Expand 10 after
11799 { 11787 {
11800 // The tokenizer checks for the construct of an+b. 11788 // The tokenizer checks for the construct of an+b.
11801 // However, since the {ident} rule precedes the {nth} rule, some of those 11789 // However, since the {ident} rule precedes the {nth} rule, some of those
11802 // tokens are identified as string literal. Furthermore we need to accept 11790 // tokens are identified as string literal. Furthermore we need to accept
11803 // "odd" and "even" which does not match to an+b. 11791 // "odd" and "even" which does not match to an+b.
11804 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") 11792 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even")
11805 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); 11793 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n");
11806 } 11794 }
11807 11795
11808 } 11796 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSProperty.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698