mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 00:49:46 +00:00
New name reflects that offset is not just a frame's own offset but a sum of offsets from containing block chain.
18 lines
314 B
C++
18 lines
314 B
C++
/*
|
|
* Copyright (c) 2024, Aliaksandr Kalenik <kalenik.aliaksandr@gmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/PixelUnits.h>
|
|
|
|
namespace Web::Painting {
|
|
|
|
struct ScrollFrame : public RefCounted<ScrollFrame> {
|
|
i32 id { -1 };
|
|
CSSPixelPoint cumulative_offset;
|
|
};
|
|
|
|
}
|