servo/components/script/layout_dom
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
..
document.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
element.rs script: Eliminate PseudoElementType (#36146) 2025-03-26 08:33:12 +00:00
mod.rs Eliminate duplicate Layout DOM wrappers 2023-05-05 17:16:38 +02:00
node.rs script: Eliminate PseudoElementType (#36146) 2025-03-26 08:33:12 +00:00
shadow_root.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00