Bug 200263 - Can't scroll on yummly.co.uk recipe (scale(0) div covers the content and hit-tests)
Summary: Can't scroll on yummly.co.uk recipe (scale(0) div covers the content and hit-...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-07-29 19:02 PDT by Simon Fraser (smfr)
Modified: 2019-07-30 13:22 PDT (History)
6 users (show)

See Also:


Attachments
Patch (7.61 KB, patch)
2019-07-29 19:04 PDT, Simon Fraser (smfr)
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2019-07-29 19:02:11 PDT
Can't scroll on yummly.co.uk recipe (scale(0) div covers the content and hit-tests)
Comment 1 Simon Fraser (smfr) 2019-07-29 19:04:35 PDT
Created attachment 375137 [details]
Patch
Comment 2 Simon Fraser (smfr) 2019-07-29 19:04:37 PDT
<rdar://problem/53679408>
Comment 3 EWS Watchlist 2019-07-29 19:06:09 PDT
Attachment 375137 [details] did not pass style-queue:


ERROR: Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.mm:57:  Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons.  [readability/comparison_to_zero] [5]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Tim Horton 2019-07-29 22:28:14 PDT
Comment on attachment 375137 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=375137&action=review

> Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.mm:56
> +            auto frameSize = [view frame].size;

More dots

> Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.mm:57
> +            if (frameSize.width == 0 || frameSize.height == 0)

CGRectIsEmpty?
Comment 5 Simon Fraser (smfr) 2019-07-30 13:22:27 PDT
https://trac.webkit.org/r248015