| Summary: | REGRESSION(r260276) Z-ordering issue with content inside overflow:scroll element with negative y translate | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Philipp Metzler <pp> | ||||||||||
| Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||||||||
| Status: | NEW --- | ||||||||||||
| Severity: | Normal | CC: | bfulgham, jan, mjs, pp, simon.fraser, webkit-bug-importer, zalan | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | Safari Technology Preview | ||||||||||||
| Hardware: | Mac | ||||||||||||
| OS: | macOS 10.15 | ||||||||||||
| URL: | https://codepen.io/googol7/full/KKVvzVX | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Philipp Metzler
2020-06-29 09:24:55 PDT
Regressed at https://trac.webkit.org/changeset/260276/webkit (Turn async frame and overflow scrolling on by default on macOS) (In reply to zalan from comment #1) > Regressed at https://trac.webkit.org/changeset/260276/webkit (Turn async > frame and overflow scrolling on by default on macOS) Zalan, this will not solve the problem in Mobile Safari, correct? (In reply to Philipp Metzler from comment #3) > (In reply to zalan from comment #1) > > Regressed at https://trac.webkit.org/changeset/260276/webkit (Turn async > > frame and overflow scrolling on by default on macOS) > > Zalan, this will not solve the problem in Mobile Safari, correct? Yeah, I don't know what the regression point is on iOS. I'd guess the same bug causes it on both platforms (which got revealed on macOS with 260276). Simon will probably have more information on this soon. Created attachment 403209 [details]
Reduction
We get the z-ordering wrong; the 'position: absolute' ends up on top of the text, but only if there's a translation on the scroller. It's a fairly obscure combination of properties. Are there any known websites or apps that this affects? Created attachment 406325 [details]
Leaflet map controls disappear
In our PWA this bug leads to the disappearance of the map controls. See the animated gif "Leaflet map controls dissapear.gif"
Can you work around it by removing the negative y translate on the scroller? No that doesn't work for me. We need this for the animations. In other browsers this is not a problem. Created attachment 407103 [details] Cut off circle I've seen another bug after removing the `translateY` of the parent node. A circle is cut off when scrolling down. Environment: Simulator with iOS 13.6 iPhone SE (2nd generation) Reproduction: https://codepen.io/amann/pen/GRZrwMr |