Changeset 209205 in webkit


Ignore:
Timestamp:
Dec 1, 2016 2:07:10 PM (7 years ago)
Author:
hyatt@apple.com
Message:

[CSS Parser] Support -webkit-overflow-scrolling: touch
https://bugs.webkit.org/show_bug.cgi?id=165275

Reviewed by Zalan Bujtas.

  • css/parser/CSSParserFastPaths.cpp:

(WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r209200 r209205  
     12016-12-01  Dave Hyatt  <hyatt@apple.com>
     2
     3        [CSS Parser] Support -webkit-overflow-scrolling: touch
     4        https://bugs.webkit.org/show_bug.cgi?id=165275
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        * css/parser/CSSParserFastPaths.cpp:
     9        (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):
     10
    1112016-12-01  Jiewen Tan  <jiewen_tan@apple.com>
    212
  • trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp

    r209021 r209205  
    806806    case CSSPropertyFontVariantAlternates: // We only support the normal and historical-forms values.
    807807        return valueID == CSSValueNormal || valueID == CSSValueHistoricalForms;
     808#if ENABLE(ACCELERATED_OVERFLOW_SCROLLING)
     809    case CSSPropertyWebkitOverflowScrolling:
     810        return valueID == CSSValueAuto || valueID == CSSValueTouch;
     811#endif
    808812    default:
    809813        ASSERT_NOT_REACHED();
Note: See TracChangeset for help on using the changeset viewer.