[Webkit-unassigned] [Bug 176053] Element positioned with getBoundingClientRect() inside position fixed element is rendered in wrong place

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 10 20:10:30 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=176053

--- Comment #8 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
On macOS this works because we reset the scroll position here:

  * frame #0: 0x00000005ea7b1ac3 WebCore`WebCore::ScrollView::updateScrollbars(this=0x00000005fee00ed0, desiredPosition=0x00007ffee90f2430) at ScrollView.cpp:737
    frame #1: 0x00000005ea7b26df WebCore`WebCore::ScrollView::setContentsSize(this=0x00000005fee00ed0, newSize=0x00007ffee90f2560) at ScrollView.cpp:349
    frame #2: 0x00000005ea606b5f WebCore`WebCore::FrameView::setContentsSize(this=0x00000005fee00ed0, size=0x00007ffee90f2560) at FrameView.cpp:599
    frame #3: 0x00000005ea608533 WebCore`WebCore::FrameView::adjustViewSize(this=0x00000005fee00ed0) at FrameView.cpp:631
    frame #4: 0x00000005ea60b061 WebCore`WebCore::LayoutContext::layout(this=0x00000005fee012e0) at LayoutContext.cpp:198
    frame #5: 0x00000005e9d65ffa WebCore`WebCore::Document::updateLayout(this=0x00000005fd59e000) at Document.cpp:1992
    frame #6: 0x00000005e9d6b83e WebCore`WebCore::Document::updateLayoutIgnorePendingStylesheets(this=0x00000005fd59e000, runPostLayoutTasks=Asynchronously) at Document.cpp:2006
    frame #7: 0x00000005e9e0a6cf WebCore`WebCore::Element::boundingClientRect(this=0x000000060379d348) at Element.cpp:1212
    frame #8: 0x00000005e9e0aa63 WebCore`WebCore::Element::getBoundingClientRect(this=0x000000060379d348) at Element.cpp:1241

via the call to adjustScrollPositionWithinRange(). We probably need to do something similar on iOS.

-- 
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/20180111/9dfc554b/attachment.html>


More information about the webkit-unassigned mailing list