ladybird/Userland/Libraries/LibWeb/Selection
John Diamond 18ade57ae9 LibWeb: Use correct boundary point comparison in Selection.extend
Previously Selection.extend() used only the relative node order to decide which
direction to extend the selection. This leads to incorrect behaviour if
both the existing and new boundary points are within the same DOM node
and the selection direction is reversed.

This change fixes all the failing subtests in the WPT extend-* test
suites.
2024-10-13 15:11:49 +02:00
..
Selection.cpp LibWeb: Use correct boundary point comparison in Selection.extend 2024-10-13 15:11:49 +02:00
Selection.h LibWeb: Implement Selection::direction 2024-10-13 09:47:07 +02:00
Selection.idl LibWeb: Implement Selection::direction 2024-10-13 09:47:07 +02:00