dom: Textual Input UA Shadow Dom (#37527)

Depend on: 
- https://github.com/servo/servo/pull/37427
- https://github.com/servo/servo/pull/37483

Utilize input `type=text` for the display of all textual input. In
which, consist of
https://html.spec.whatwg.org/#the-input-element-as-a-text-entry-widget
and
https://html.spec.whatwg.org/#the-input-element-as-domain-specific-widgets
inputs.

For `password`, `url`, `tel`, and, `email` input, the appearance of
input container is exactly the same as the `text` input. Other types of
textual input simply extends `text` input by adding extra components
inside the container.

Testing: Servo textual input appearance WPT.

---------

Signed-off-by: stevennovaryo <steven.novaryo@gmail.com>
Signed-off-by: Jo Steven Novaryo <jo.steven.novaryo@huawei.com>
This commit is contained in:
Jo Steven Novaryo 2025-07-25 12:38:14 +08:00 committed by GitHub
parent 1d896699a4
commit 6cd8578f8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 546 additions and 279 deletions

View file

@ -357056,7 +357056,7 @@
"input-date-content-size.html": [
"d026771f3c89c736b397db6a10c15fde5d73a3a8",
[
null,
"html/rendering/widgets/input-date-content-size.html",
[
[
"/html/rendering/widgets/input-date-content-size-ref.html",
@ -357147,7 +357147,7 @@
"input-time-content-size.html": [
"4a378f6923a8910b96f8afa84125a8fbac4a5d05",
[
null,
"html/rendering/widgets/input-time-content-size.html",
[
[
"/html/rendering/widgets/input-time-content-size-ref.html",

View file

@ -0,0 +1,2 @@
[number-placeholder-right-aligned.html]
expected: FAIL

View file

@ -13,3 +13,6 @@
[number: Update field-sizing property dynamically]
expected: FAIL
[number: Text caret is taller than the placeholder]
expected: FAIL

View file

@ -0,0 +1,2 @@
[input-date-content-size.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[input-number-text-size.tentative.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[input-time-content-size.html]
expected: FAIL