servo/tests
Steven Novaryo 5580704438
Implement Input type=text UA Shadow DOM (#37065)
Implement Shadow Tree construction for input `type=text`, adding a text
control inner editor container and placeholder container. Subsequently,
due to the changes of the DOM tree structure, the changes will add a new
NodeFlag `IS_TEXT_CONTROL_INNER_EDITOR` to handle the following cases.
- If a mouse click button event hits a text control inner editor, it
will redirect the focus target to its shadow host.
- In text run's construction, the text control inner editor container
queries the selection from its shadow host. This is later used to
resolve caret and selection painting in the display list.

This will be the first step of fixing input `type=text` and other
single-line text input element widgets. Such as, implementing
`::placeholder` selector.



Testing: Existing WPT test and new Servo specific appearance WPT.
Fixes: #36307

---------

Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
2025-05-30 12:02:10 +00:00
..
dromaeo
html layout: Support wavy and double for text-decoration-line (#37079) 2025-05-22 17:42:50 +00:00
jquery
power
unit script: Add support for polygons in HtmlAreaElement::hit_test (#37064) 2025-05-24 09:53:27 +00:00
wpt Implement Input type=text UA Shadow DOM (#37065) 2025-05-30 12:02:10 +00:00