mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibWeb: Rename PaintableBox::effective_offset() => offset()
Since this function no longer does any computation, just "offset" seems like a fine name.
This commit is contained in:
parent
25a3d0d643
commit
79db9c27c6
3 changed files with 8 additions and 6 deletions
|
@ -36,7 +36,9 @@ public:
|
|||
};
|
||||
|
||||
CSSPixelRect absolute_rect() const;
|
||||
CSSPixelPoint effective_offset() const;
|
||||
|
||||
// Offset from the top left of the containing block's content edge.
|
||||
[[nodiscard]] CSSPixelPoint offset() const;
|
||||
|
||||
CSSPixelPoint scroll_offset() const;
|
||||
void set_scroll_offset(CSSPixelPoint);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue