Closed Bug 1887913 Opened 1 year ago Closed 1 year ago

AtomIdent and LocalName are different in Servo

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: Oriol, Assigned: Oriol)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Gecko has:

pub struct AtomIdent(pub Atom);
pub type LocalName = crate::values::AtomIdent;

Servo has:

pub type AtomIdent = GenericAtomIdent<servo_atoms::AtomStaticSet>;
pub type LocalName = crate::values::GenericAtomIdent<html5ever::LocalNameStaticSet>;

So Gecko sometimes uses AtomIdent instead of LocalName because they are the same, but in Servo the difference matters.

In Gecko, LocalName is an alias for AtomIdent.
But in Servo they aren't the same, so these changes are needed.

Pushed by oriol-bugzilla@hotmail.com: https://hg.mozilla.org/integration/autoland/rev/5e44076c7eeb AtomIdent and LocalName are different in Servo. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: