[Webkit-unassigned] [Bug 199915] New: Sticky element inside another sticky element does not redraw properly on scroll

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 18 13:44:22 PDT 2019


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

            Bug ID: 199915
           Summary: Sticky element inside another sticky element does not
                    redraw properly on scroll
           Product: WebKit
           Version: Safari 11
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: max at rururu.me

Created attachment 374410

  --> https://bugs.webkit.org/attachment.cgi?id=374410&action=review

screen recording

Looks like webkit calculates layout, but do not repaint sticky element on scroll.

HTML to reproduce:
```
<html>
<head>
    <meta charset="utf8" />
    <style>
        .sticky {
            position: -webkit-sticky;
            position: sticky;
            top: 0;
        }
        .parent {
            background: gray;
            height: 150vh;
        }
        .child {
            background: white;
        }
    </style>
</head>
<body>
    <div class="sticky parent">
        <div class="sticky child"><a href="#">sticky</a></div>
    </div>
</body>
</html>
```

-- 
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/20190718/2058210b/attachment.html>


More information about the webkit-unassigned mailing list