[Webkit-unassigned] [Bug 213236] New: Browser reports wrong element size
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 15 23:39:54 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=213236
Bug ID: 213236
Summary: Browser reports wrong element size
Product: WebKit
Version: Safari 13
Hardware: iPhone / iPad
OS: iOS 13
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: roland at nextendweb.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Steps to reproduce:
- Attach the iPhone or iPad to your Mac and inspect the current tab
- Navigate this tab to: https://smartslider3.com/bugs/webkit/wrongheight/
- Examine the console - values are: el, jQuery->outerHeight(), jQuery->height(), el.getBoundingClientRect(), el.clientHeight, el.scrollHeight
All height value should be 800 and width in getBoundingClientRect() should be 1440
What went wrong?
At first load the browser reports wrong values. on my iPhone 11 it reports 1065px for the height and 414px for the width.
Debugger stopped right after the console log. If you use the console in this paused state and try to print out values for the very same element, it will report the right values.
Note: This only happens on the first load. Clear the whole cache to reproduce it again. Or enter private mode, open the page, to refresh close the tab and open a new tab.
Happens on IOS 13.5, and IOS 12.9
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200616/afeb9f09/attachment.htm>
More information about the webkit-unassigned
mailing list