servo/components/shared/script_layout
Martin Robinson a9b393a854
script: Eliminate PseudoElementType (#36146)
Servo has a `PseudoElementType` which more or less duplicate's Stylo's
`PseudoElement` with the addition of a non-pseudo element variant. This
type needs to be converted into `PseudoElement` anyway when asking for
the style of an element from Stylo, so eliminate Servo's version and
simply use `Option<PseudoElement>` with the `None` variant meaning the
non-pseudo.

This is preparation for adding support for the `::marker` pseudo
element.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-03-26 08:33:12 +00:00
..
Cargo.toml Create a constellation_traits crate (#36088) 2025-03-22 15:49:08 +00:00
lib.rs script: Eliminate PseudoElementType (#36146) 2025-03-26 08:33:12 +00:00
wrapper_traits.rs script: Eliminate PseudoElementType (#36146) 2025-03-26 08:33:12 +00:00