WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
184905
Transforming an element into the viewport causes a miscalculated height until a reflow happens
https://bugs.webkit.org/show_bug.cgi?id=184905
Summary
Transforming an element into the viewport causes a miscalculated height until...
Jack Hanford
Reported
2018-04-23 21:27:44 PDT
I've noticed a bug where in my webkit based browsers (latest webkit build, Safari on my mac (10.13) and iOS 11.3) .. after animating an element into the viewport via `translate3d`, sometimes the parent elements height/width aren't properly calculated until a reflow occurs. (Easy repro, is by resizing the viewport) I'm able to reliably reproduce this issue on this URL:
https://dist-okumnjynhx.now.sh
I've also recorded a video to help demonstrate the bug:
https://d.pr/v/WYTlbj
I can link to code if it's helpful, though I noticed it while building a react plugin, so there are few abstractions on top. The environment above works as expected in both firefox and chrome. Let me know if there is any additional information that would help debug!
Attachments
Add attachment
proposed patch, testcase, etc.
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