mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 16:28:54 +00:00
LibWeb: Move box_type_agnostic_position() from layout node to paintable
For this method, there is no need to go through the layout node when we can directly reach the paintable.
This commit is contained in:
parent
31e5b5f5de
commit
814bed33b4
Notes:
sideshowbarker
2024-07-17 22:01:16 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 814bed33b4
Pull-request: https://github.com/SerenityOS/serenity/pull/22749
Reviewed-by: https://github.com/awesomekling
8 changed files with 39 additions and 36 deletions
|
@ -160,8 +160,6 @@ public:
|
|||
bool children_are_inline() const { return m_children_are_inline; }
|
||||
void set_children_are_inline(bool value) { m_children_are_inline = value; }
|
||||
|
||||
CSSPixelPoint box_type_agnostic_position() const;
|
||||
|
||||
enum class SelectionState {
|
||||
None, // No selection
|
||||
Start, // Selection starts in this Node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue