NEW 174648
FrameView::visibleSize() is unscaled on macOS, but scaled on iOS
https://bugs.webkit.org/show_bug.cgi?id=174648
Summary FrameView::visibleSize() is unscaled on macOS, but scaled on iOS
Simon Fraser (smfr)
Reported 2017-07-18 19:58:07 PDT
FrameView::visibleSize() is inconsistent between macOS and iOS (WK2). On macOS, it boils down to ScrollView::unobscuredContentRectInternal() which adjusts for scale. On iOS, it just returns m_unobscuredContentSize which was set by the UI process, but not adjusted for page scale.
Attachments
Simon Fraser (smfr)
Comment 1 2018-01-18 17:06:11 PST
Seems that macOS is wrong. ScrollView::unobscuredContentRectInternal() should return a "content" rect. The rect it returns has a maxX/maxY that is larger than the document rect.
Note You need to log in before you can comment on or make changes to this bug.