servo/components/script
cathiechen 4e4a4c0a28
Implement form-associated custom elements and their ElementInternals (#31980)
* FACEs work, setFormValue test is awful so now has _mozilla backup

* 1. Impl Validatable in ElementInternals instead of HTMLElement. 2. Reuse the code in Validatable trait. 3. The form associated custom element is not a customized built-in element.

* add some comments

* support readonly attribute and complete barred from constraint validation

* Addressed the code review comments

* Updated the legacy-layout results

* Fixed the WPT failures in ElementInternals-validation.html

* Addressed the code review comments

* Review suggestions

* Fixed silly mistakes and update the test result outside elementinternals

* update the test results

---------

Co-authored-by: Patrick Shaughnessy <pshaughn@comcast.net>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-04-11 13:17:11 +00:00
..
docs Update branch name to main (#30877) 2023-12-16 09:32:20 +00:00
dom Implement form-associated custom elements and their ElementInternals (#31980) 2024-04-11 13:17:11 +00:00
layout_dom script: Make layout DOM wrappers not generic on layout data (#31994) 2024-04-04 11:34:35 +00:00
task_source clippy: Fix redundant field names warnings (#31793) 2024-03-20 23:05:29 +00:00
animation_timeline.rs script: Start replacing time with std::time and chrono (#30639) 2024-01-16 12:23:18 +00:00
animations.rs clippy: Fix mem_replace_with_default warnings (#31921) 2024-03-28 13:10:37 +00:00
body.rs clippy: Fix let_and_return warnings (#31964) 2024-04-01 15:43:24 +00:00
build.rs Update python detection in codegen (#31873) 2024-03-26 10:14:06 +00:00
canvas_state.rs clippy: Allow too_many_arguments for existing functions (#31974) 2024-04-02 12:50:45 +00:00
Cargo.toml Update phf_codegen and phf_shared to 0.11 (#31537) 2024-03-08 07:25:12 +00:00
clipboard_provider.rs
devtools.rs clippy: fixed some warnings in components/script (#31888) 2024-03-26 21:25:42 +00:00
document_loader.rs clippy: fixed some warnings in components/script (#31888) 2024-03-26 21:25:42 +00:00
euclidext.rs
fetch.rs Fixed some clippy warnings by replacing 'match' with 'if' (#32007) 2024-04-07 07:39:05 +00:00
image_listener.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
init.rs Fixed some clippy warning by adding default implementations (#31989) 2024-04-04 09:33:30 +00:00
layout_image.rs clippy: Fix some warnings in the script crate (#31719) 2024-03-18 10:05:18 +00:00
lib.rs crown: Do not warn about crown for rustdoc or clippy (#31805) 2024-03-21 15:33:06 +00:00
mem.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
microtask.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
network_listener.rs clippy: Fix redundant field names warnings (#31793) 2024-03-20 23:05:29 +00:00
realms.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
script_module.rs Fixed some clippy warnings in components (#32025) 2024-04-10 07:50:01 +00:00
script_runtime.rs Fixed some clippy warning by adding default implementations (#31989) 2024-04-04 09:33:30 +00:00
script_thread.rs Fixed some clippy warning by adding default implementations (#31989) 2024-04-04 09:33:30 +00:00
serviceworker_manager.rs clippy: fix warnings in components/script (#32023) 2024-04-09 09:34:52 +00:00
stylesheet_loader.rs fonts: Add support for WOFF2 and properly load web fonts from @imports (#31879) 2024-03-26 20:31:52 +00:00
stylesheet_set.rs
task.rs
task_manager.rs clippy: Allow too_many_arguments for all functions (#31962) 2024-04-01 14:53:33 +00:00
task_queue.rs clippy: Fix some clippy problems in components/script (#31778) 2024-03-20 18:41:07 +00:00
test.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
textinput.rs clippy: Fix collapsible_else_if warnings (#31853) 2024-03-26 09:15:04 +00:00
timers.rs clippy: Fix some warnings in components/script/timers.rs (#31878) 2024-03-27 10:15:15 +00:00
unpremultiplytable.rs
webdriver_handlers.rs Fix some clippy warnings in components/script/webdriver_handlers.rs (#31784) 2024-03-22 11:08:07 +00:00
window_named_properties.rs clippy: Fix several warnings (#31710) 2024-03-18 08:33:43 +00:00