Bug 196058

Summary: Add an internal feature flag to disable the -webkit-overflow-scrolling CSS property
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, ews-watchlist, koivisto, rniwa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 196803    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews107 for mac-highsierra-wk2
none
Patch
koivisto: review+
Patch
none
Patch none

Simon Fraser (smfr)
Reported 2019-03-20 23:07:43 PDT
Add an internal feature flag to disable the -webkit-overflow-scrolling CSS property
Attachments
Patch (10.42 KB, patch)
2019-03-20 23:09 PDT, Simon Fraser (smfr)
no flags
Archive of layout-test-results from ews107 for mac-highsierra-wk2 (2.88 MB, application/zip)
2019-03-21 01:25 PDT, EWS Watchlist
no flags
Patch (18.98 KB, patch)
2019-03-21 08:55 PDT, Simon Fraser (smfr)
koivisto: review+
Patch (23.73 KB, patch)
2019-03-21 12:01 PDT, Simon Fraser (smfr)
no flags
Patch (23.72 KB, patch)
2019-03-21 12:48 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2019-03-20 23:09:59 PDT
Simon Fraser (smfr)
Comment 2 2019-03-20 23:10:02 PDT
EWS Watchlist
Comment 3 2019-03-21 01:24:59 PDT
Comment on attachment 365492 [details] Patch Attachment 365492 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/11594807 New failing tests: http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html
EWS Watchlist
Comment 4 2019-03-21 01:25:00 PDT
Created attachment 365517 [details] Archive of layout-test-results from ews107 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
Simon Fraser (smfr)
Comment 5 2019-03-21 08:55:46 PDT
Antti Koivisto
Comment 6 2019-03-21 09:17:22 PDT
Comment on attachment 365550 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=365550&action=review r=me with change to const CSSParserContext&. > Source/WebCore/css/parser/CSSParserFastPaths.cpp:523 > +bool CSSParserFastPaths::isValidKeywordPropertyAndValue(CSSPropertyID propertyId, CSSValueID valueID, CSSParserMode parserMode, const CSSParserContext* context) How would the caller know when to provide this context? Please make it a reference and like everywhere else it is used. > Source/WebCore/css/parser/CSSParserFastPaths.cpp:810 > + WTFLogAlways("Parsing CSSPropertyWebkitOverflowScrolling; enabled %d", context && context->legacyOverflowScrollingTouchEnabled); Please don't leave spammy logging in.
Simon Fraser (smfr)
Comment 7 2019-03-21 11:31:43 PDT
(In reply to Antti Koivisto from comment #6) > Comment on attachment 365550 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=365550&action=review > > r=me with change to const CSSParserContext&. There's a caller (inspector code) that doesn't have access to a CSSParserContext.
Antti Koivisto
Comment 8 2019-03-21 11:46:17 PDT
> There's a caller (inspector code) that doesn't have access to a > CSSParserContext. There is strictCSSParserContext() global for cases where a real context (with base urls etc) is not needed.
Simon Fraser (smfr)
Comment 9 2019-03-21 12:01:47 PDT
Simon Fraser (smfr)
Comment 10 2019-03-21 12:48:25 PDT
Simon Fraser (smfr)
Comment 11 2019-03-21 13:20:54 PDT
Alex Christensen
Comment 12 2019-05-03 16:38:31 PDT
Comment on attachment 365595 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=365595&action=review > Source/WebCore/css/parser/CSSParserFastPaths.cpp:811 > + return nullptr; return false :(
Note You need to log in before you can comment on or make changes to this bug.