• Robert Knight's avatar
    Use center rather than top position of anchor for bucket-on-screen test · 7d824030
    Robert Knight authored
    Use the position of the center of an anchor instead of the top to determine
    whether it should be counted as off-screen or not. Since buckets in the bucket
    bar are drawn where the center is, this ensures that on-screen buckets merge
    into off-screen ones at a natural point, instead of when there is still a gap
    between the two (for the "above screen" bucket) or after the on-screen bucket
    has gone below the "below screen" bucket.
    
    Fixes #5525
    7d824030
Name
Last commit
Last update
..
buckets-test.js Loading commit data...
emitter-test.js Loading commit data...
frame-test.js Loading commit data...
geometry-test.js Loading commit data...
navigation-observer-test.js Loading commit data...
normalize-test.js Loading commit data...
scroll-test.js Loading commit data...
shadow-root-test.js Loading commit data...
url-test.js Loading commit data...