Bug 192320 - REGRESSION (r238090): position:fixed sidebar on https://www.w3.org/TR/SVG2/coords.html does not stay fixed
Summary: REGRESSION (r238090): position:fixed sidebar on https://www.w3.org/TR/SVG2/co...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL: https://www.w3.org/TR/SVG2/coords.html
Keywords: InRadar
Depends on: 192342
Blocks:
  Show dependency treegraph
 
Reported: 2018-12-03 13:31 PST by Simon Fraser (smfr)
Modified: 2018-12-04 18:19 PST (History)
6 users (show)

See Also:


Attachments
Patch (7.05 KB, patch)
2018-12-03 18:17 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (7.05 KB, patch)
2018-12-03 19:18 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2018-12-03 13:31:28 PST
The position:fixed sidebar on https://www.w3.org/TR/SVG2/coords.html doesn't stay fixed; it scrolls, then snaps when you hover.
Comment 1 Radar WebKit Bug Importer 2018-12-03 13:33:34 PST
<rdar://problem/46429833>
Comment 2 Simon Fraser (smfr) 2018-12-03 15:03:50 PST
The page is using main thread scrolling (because of fixed backgrounds), and the compositing update pass is failing to update the positions of fixed elements.
Comment 3 Simon Fraser (smfr) 2018-12-03 18:17:21 PST
Created attachment 356443 [details]
Patch
Comment 4 Simon Fraser (smfr) 2018-12-03 19:18:50 PST
Created attachment 356448 [details]
Patch
Comment 5 zalan 2018-12-03 19:22:13 PST
Comment on attachment 356448 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=356448&action=review

> Source/WebCore/rendering/RenderLayerCompositor.cpp:669
> +    bool isPageScroll = !updateRoot || updateRoot == &rootRenderLayer();

auto
Comment 6 WebKit Commit Bot 2018-12-03 20:03:56 PST
Comment on attachment 356448 [details]
Patch

Clearing flags on attachment: 356448

Committed r238840: <https://trac.webkit.org/changeset/238840>
Comment 7 WebKit Commit Bot 2018-12-03 20:03:58 PST
All reviewed patches have been landed.  Closing bug.
Comment 9 Ryan Haddad 2018-12-04 09:17:26 PST
Reverted r238840 for reason:

The layout test added with this change is frequently failing.

Committed r238855: <https://trac.webkit.org/changeset/238855>
Comment 11 Simon Fraser (smfr) 2018-12-04 18:19:17 PST
Relanded in https://trac.webkit.org/r238876
Attempted to de-flake the test in https://trac.webkit.org/r238883.