servo/tests/wpt/meta/html/editing/editing-0
Jo Steven Novaryo 3cb16eb864
Reland Input type=text Shadow DOM With Performance Improvement (#37483)
Depends on #37427.

In addition to the changes introduced by
https://github.com/servo/servo/pull/37065, there are several performance
improvements and nits as follows:
- Use the internal pseudo element for style matching, this will reduce
the performance regression by ~66%.
- Manual construction of the `Text` node inside a text container. This
is followed by the modification of the inner `Text` node instead of
using `SetTextContent` which is more expensive.
- Use `implemented_pseudo_element` instead of
`text_control_inner_editor` `NodeFlag` to handle the special cases that
these elements should follow, specifically the:
  - focus delegation workaround;
  - selections; and
  - line height resolving.
- More documentation.

Servo's side of: https://github.com/servo/stylo/pull/217

Testing: No new unexpected WPT failure, except for the one introduced by
https://github.com/servo/servo/pull/37065/.
Fixes: #36307 #37205

---------

Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
2025-07-23 09:08:24 +00:00
..
autocapitalization Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
autocorrection Update web-platform-tests to revision b'5d8ec746ed021738e7ee0cee92ad1a1814ba00fe' (#33274) 2024-09-01 01:40:45 +00:00
contenteditable Include non-shadowdom children of shadow hosts in style calculation (#34298) 2024-11-20 19:28:35 +00:00
making-entire-documents-editable-the-designmode-idl-attribute Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
spelling-and-grammar-checking Reland Input type=text Shadow DOM With Performance Improvement (#37483) 2025-07-23 09:08:24 +00:00
writing-suggestions Update web-platform-tests to revision b'504dbb9401e985461bdc3fb534cb26fd5bb9d9ad' (#31372) 2024-02-18 04:56:46 +00:00