Bug 132640

Summary: Add scrolling tree logging to RemoteLayerTree output
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, bdakin, cmarcelo, commit-queue, jamesr, luiz, simon.fraser, thorton, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch bdakin: review+

Description Simon Fraser (smfr) 2014-05-06 20:54:59 PDT
Add scrolling tree logging to RemoteLayerTree output
Comment 1 Simon Fraser (smfr) 2014-05-06 20:55:34 PDT
Sample output:
  (scrolling state tree
    (has changed properties 1)
    (has new root node 0)
    (node 3
      (type frame-scrolling)
      (children
          (node 4
            (type overflow-scrolling)
            (scroll-position (0,157))
            (children
                (node 5
                  (type sticky)
                  (sticky position-at-last-layout width=0 height=-113)
                  (layer-position-at-last-layout (0,447))))))))
Comment 2 Simon Fraser (smfr) 2014-05-06 21:01:18 PDT
Created attachment 230968 [details]
Patch
Comment 3 Tim Horton 2014-05-06 21:53:33 PDT
(In reply to comment #1)
> Sample output:
>   (scrolling state tree
>     (has changed properties 1)
>     (has new root node 0)
>     (node 3
>       (type frame-scrolling)
>       (children
>           (node 4
>             (type overflow-scrolling)
>             (scroll-position (0,157))
>             (children
>                 (node 5
>                   (type sticky)
>                   (sticky position-at-last-layout width=0 height=-113)

I think there should be a dash between sticky and position.

>                   (layer-position-at-last-layout (0,447))))))))
Comment 4 Simon Fraser (smfr) 2014-05-07 11:44:02 PDT
https://trac.webkit.org/r168433