1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +00:00

LibWeb: Add LayoutRange::normalized()

We use this to ensure that we're always working with a selection where
the start() is before the end() in document order. That simplifies all
the logic around this.
This commit is contained in:
Andreas Kling 2020-06-29 00:24:35 +02:00
parent 706fc3d1aa
commit 9177eea8fe
5 changed files with 61 additions and 1 deletions

View file

@ -77,6 +77,7 @@ set(SOURCES
Layout/LayoutListItem.cpp
Layout/LayoutListItemMarker.cpp
Layout/LayoutNode.cpp
Layout/LayoutPosition.cpp
Layout/LayoutReplaced.cpp
Layout/LayoutTable.cpp
Layout/LayoutTableCell.cpp