mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
This change makes it so that all form controls are implemented with shadow DOM, completely removing the legacy text content and selection code paths for form controls. The motivation for this change is: - to allow properly hit testing against the text nodes of `<textarea>` and other widgets. This is important for implementing mouse-based selection on the page. - to simplify the way that form controls are implemented in general and to prepare the way for proper implementations of the user interface of other controls. Testing: This should not change observable behavior at the moment,so should be covered by existing WPT tests. --------- Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Oriol Brufau <obrufau@igalia.com>