mirror of
https://github.com/servo/servo.git
synced 2025-07-15 19:33:46 +01:00
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> |
||
---|---|---|
.. | ||
context.rs | ||
eval.rs | ||
eval_function.rs | ||
eval_value.rs | ||
mod.rs | ||
parser.rs |