servo/ports/servoshell
Simon Wülker b100a98e1d
Fully support <input type=color> (#36992)
This change adds a shadow-tree widget for `<input type=color>` elements.
It also involves some changes to the way layout interacts with the DOM,
because currently all `input` and `textarea` elements are rendered as
plain text and their descendants are ignored. This obviously doesn't
work for `<input type={color, date, range, etc}>`.


![image](https://github.com/user-attachments/assets/4f16c3b0-1f79-4095-b19d-1153f5853dd5)

<details><summary>HTML used for the screenshot above</summary>

```html
<input type=color>
```

</details>



Testing: I doubt that this affects WPT tests, because the appearance and
behaviour of the widget is almost entirely unspecified.

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-05-15 17:30:38 +00:00
..
desktop Fully support <input type=color> (#36992) 2025-05-15 17:30:38 +00:00
egl Added a new workflow that benchmarks simple startup and loading of servo.org on HarmonyOS. (#36878) 2025-05-15 12:52:33 +00:00
platform Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
backtrace.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
build.rs Fix git failure on macos (#36544) 2025-04-15 14:55:37 +00:00
Cargo.toml build(deps): bump the objc2-related group with 2 updates (#36919) 2025-05-11 18:39:49 +00:00
crash_handler.rs Fix various clippy warnings on OpenHarmony (#34281) 2024-11-19 05:21:48 +00:00
lib.rs Drop vergen_git2 dependency (#36439) 2025-04-10 10:39:44 +00:00
main.rs Make tracing available on all platforms, with or without perfetto (#33301) 2024-09-04 12:56:29 +00:00
panic_hook.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
parser.rs Allow domain-like as URL location input (#35756) 2025-03-10 03:24:48 +00:00
prefs.rs Remove some references to layout 2013 vs layout 2020 (#37007) 2025-05-14 19:53:48 +00:00
resources.rs libservo: Stop using script_traits in the embedding layer (#35185) 2025-01-28 11:15:36 +00:00
test.rs Allow domain-like as URL location input (#35756) 2025-03-10 03:24:48 +00:00