mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
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:
parent
1d896699a4
commit
6cd8578f8b
36 changed files with 546 additions and 279 deletions
|
@ -0,0 +1,2 @@
|
|||
[number-placeholder-right-aligned.html]
|
||||
expected: FAIL
|
|
@ -13,3 +13,6 @@
|
|||
|
||||
[number: Update field-sizing property dynamically]
|
||||
expected: FAIL
|
||||
|
||||
[number: Text caret is taller than the placeholder]
|
||||
expected: FAIL
|
||||
|
|
2
tests/wpt/meta/html/rendering/widgets/input-date-content-size.html.ini
vendored
Normal file
2
tests/wpt/meta/html/rendering/widgets/input-date-content-size.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[input-date-content-size.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/html/rendering/widgets/input-number-text-size.tentative.html.ini
vendored
Normal file
2
tests/wpt/meta/html/rendering/widgets/input-number-text-size.tentative.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[input-number-text-size.tentative.html]
|
||||
expected: FAIL
|
2
tests/wpt/meta/html/rendering/widgets/input-time-content-size.html.ini
vendored
Normal file
2
tests/wpt/meta/html/rendering/widgets/input-time-content-size.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[input-time-content-size.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue