mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Instead of handling selection in text input during box tree / fragment tree construction, fully handle it during display list construction. This means that when the selection changes in script, it updates automatically in the `FragmentTree` and only a new display list is necessary. This avoids a layout while changing the selection in text fields. Testing: This fixes a few rendering issues, but these are very hard to isolate and test for. It causes one test to start failing, but this is because a cursor that wasn't rendered properly now starts showing up. Fixes: #41920. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>
17 KiB
17 KiB