Use version of markup5ever with web_atoms crate (#36542)

Upgrades `markup5ever` and fixes "unnecessary import" lints.

See https://github.com/servo/html5ever/pull/599
And https://github.com/servo/stylo/pull/173

Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
Nico Burns 2025-04-19 12:49:37 +01:00 committed by GitHub
parent 7787cab521
commit c792e6db7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 69 additions and 64 deletions

View file

@ -19,9 +19,7 @@ use embedder_traits::InputMethodType;
use euclid::default::{Rect, Size2D};
use html5ever::serialize::TraversalScope;
use html5ever::serialize::TraversalScope::{ChildrenOnly, IncludeNode};
use html5ever::{
LocalName, Namespace, Prefix, QualName, local_name, namespace_prefix, namespace_url, ns,
};
use html5ever::{LocalName, Namespace, Prefix, QualName, local_name, namespace_prefix, ns};
use js::jsapi::Heap;
use js::jsval::JSVal;
use js::rust::HandleObject;