WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
213738
REGRESSION(
r260276
) Z-ordering issue with content inside overflow:scroll element with negative y translate
https://bugs.webkit.org/show_bug.cgi?id=213738
Summary
REGRESSION(r260276) Z-ordering issue with content inside overflow:scroll elem...
Philipp Metzler
Reported
2020-06-29 09:24:55 PDT
Created
attachment 403071
[details]
Actual behavior on Mobile Safari 13 without the text "Hello world!" Steps to reproduce: 1. On macOS 10.15.5 (macOS Catalina) open Safari Technology Preview Release 109 (Safari 14.0, WebKit 15610.1.17.2) 2. Go go this website:
https://codepen.io/googol7/full/KKVvzVX
3. Resize the height of the Safari window to at least 946px 3. You see the text "Hello world!" 4. Resize the height of the Safari window to less than 946px. 5. You cannot see the text "Hello world!" anymore. This faulty behavior can also be seen on Mobile Safari 13 on iOS 13.5.1 with an iPhone X for example. In other browsers the text "Hello world!" can be seen also if the height of the window is very small. The problem cannot be reproduced under macOS Catalina 10.15.5 (19F101) in these browsers: - Safari Version 13.1.1 (15609.2.9.1.2) - Google Chrome Version 83.0.4103.116 (Offizieller Build) (64-Bit) - Firefox 77.0.1 (64-Bit) - Opera 68.0.3618.173 - Microsoft Edge 83.0.478.56 (Offizielles Build) (64-Bit) All of these browsers display the text "Hello world!" at any time - independent of the height of the window.
Attachments
Actual behavior on Mobile Safari 13 without the text "Hello world!"
(212.88 KB, image/png)
2020-06-29 09:24 PDT
,
Philipp Metzler
no flags
Details
Reduction
(1.23 KB, text/html)
2020-06-30 11:16 PDT
,
Simon Fraser (smfr)
no flags
Details
Leaflet map controls disappear
(178.39 KB, image/gif)
2020-08-10 13:38 PDT
,
Philipp Metzler
no flags
Details
Cut off circle
(8.29 KB, image/png)
2020-08-24 08:04 PDT
,
jan
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
zalan
Comment 1
2020-06-29 09:30:53 PDT
Regressed at
https://trac.webkit.org/changeset/260276/webkit
(Turn async frame and overflow scrolling on by default on macOS)
Radar WebKit Bug Importer
Comment 2
2020-06-29 09:31:28 PDT
<
rdar://problem/64893598
>
Philipp Metzler
Comment 3
2020-06-29 09:45:03 PDT
(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?
zalan
Comment 4
2020-06-29 09:50:17 PDT
(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.
Simon Fraser (smfr)
Comment 5
2020-06-30 11:16:20 PDT
Created
attachment 403209
[details]
Reduction
Simon Fraser (smfr)
Comment 6
2020-06-30 11:21:25 PDT
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.
Maciej Stachowiak
Comment 7
2020-08-10 13:19:05 PDT
Are there any known websites or apps that this affects?
Philipp Metzler
Comment 8
2020-08-10 13:38:31 PDT
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"
Simon Fraser (smfr)
Comment 9
2020-08-10 13:42:32 PDT
Can you work around it by removing the negative y translate on the scroller?
Philipp Metzler
Comment 10
2020-08-10 13:57:48 PDT
No that doesn't work for me. We need this for the animations. In other browsers this is not a problem.
jan
Comment 11
2020-08-24 08:04:38 PDT
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
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug