servo/components
minghuaw 5b507dc871
script: Update name validation for attribute, element, and doctype (#37747)
A recent update in the spec (https://github.com/whatwg/dom/pull/1079)
introduced new rules for name validation of attribute, element, and
doctype. This PR implements the new name validation rules in
`components/script/dom/bindings/domname.rs`. The old XML name validation
rules are not fully removed because there remains a few usage of it in
`ProcessingInstructions` and `xpath`.

Testing: Covered by WPT tests
Fixes: #37746

---------

Signed-off-by: minghuaw <michael.wu1107@gmail.com>
Signed-off-by: Minghua Wu <michael.wu1107@gmail.com>
Co-authored-by: Xiaocheng Hu <xiaochengh.work@gmail.com>
2025-07-11 02:45:52 +00:00
..
allocator Organize component Cargo.toml dependencies (#36224) 2025-03-30 19:03:54 +00:00
background_hang_monitor bhm: Add backtrace demangling (#37819) 2025-07-02 13:39:36 +00:00
bluetooth Replace bluetooth Readme with corrected version from devices repository (#36429) 2025-04-10 18:02:45 +00:00
canvas canvas: Use snapshot in canvas backends (#37863) 2025-07-04 20:22:20 +00:00
compositing Move webdriver actions commands to servoshell (#37669) 2025-07-04 16:29:38 +00:00
config refactor(webdriver): move webdriver_port option to servoshell pref (#37867) 2025-07-04 07:04:49 +00:00
constellation Chore: cleanup unused EmbedderMsg::WebDriverCommand (#37979) 2025-07-10 12:54:46 +00:00
deny_public_fields
devtools Devtools: send error replies instead of ignoring messages (#37686) 2025-07-07 12:40:44 +00:00
dom_struct
domobject_derive
fonts Clean up unused dependencies / features and centralize more feature selection into root Cargo.toml (#37720) 2025-06-26 11:56:48 +00:00
geometry
hyper_serde
jstraceable_derive
layout layout: Lay out grid items with a consistent tentative block size (#37981) 2025-07-10 19:46:21 +00:00
malloc_size_of Clean up unused dependencies / features and centralize more feature selection into root Cargo.toml (#37720) 2025-06-26 11:56:48 +00:00
media compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00
metrics Removing unused dependencies in crates. (#37096) 2025-05-23 12:58:00 +00:00
net Send WillNavigate earlier during navigation startup (#37778) 2025-07-05 11:35:37 +00:00
pixels add support for apng and webp animated image decoding (#37637) 2025-07-10 08:54:16 +00:00
profile Profile: Resident Segments was not correctly parsing /proc/self/smaps as the regexp did not work anymore. (#37549) 2025-06-19 09:19:31 +00:00
rand
range
script script: Update name validation for attribute, element, and doctype (#37747) 2025-07-11 02:45:52 +00:00
script_bindings WebGL2: support TexImage3D (#37718) 2025-07-09 14:22:03 +00:00
servo Chore: cleanup unused EmbedderMsg::WebDriverCommand (#37979) 2025-07-10 12:54:46 +00:00
servo_tracing [tracing] Add convenience macro for function tracing (#36573) 2025-04-22 19:58:20 +00:00
shared [IndexedDB] Key ranges implementation (#37684) 2025-07-10 18:33:23 +00:00
timers script: Allow reflows that do not produce display lists (#37186) 2025-06-12 19:25:04 +00:00
url script: complete resolve_module_specifier (#37552) 2025-06-21 06:17:27 +00:00
webdriver_server Webdriver: Send Keys use webview::notify_input_event (#37911) 2025-07-10 12:37:01 +00:00
webgl WebGL2: support TexImage3D (#37718) 2025-07-09 14:22:03 +00:00
webgpu Add a basic caching mechanism for ImageKeys. (#37369) 2025-07-03 13:16:43 +00:00
webxr Removing unused dependencies in crates. (#37096) 2025-05-23 12:58:00 +00:00