(html): Añade soporte para unidades CSS

This commit is contained in:
Manuel Cillero 2025-10-13 13:13:33 +02:00
parent bcde17cb9e
commit 39a3dabcfb
7 changed files with 494 additions and 5 deletions

View file

@ -84,6 +84,11 @@ use crate::{core, AutoDefault};
#[allow(type_alias_bounds)]
pub type OptionComponent<C: core::component::Component> = core::component::Typed<C>;
mod unit;
pub use unit::UnitValue;
// **< HTML PrepareMarkup >*************************************************************************
/// Prepara contenido HTML para su conversión a [`Markup`].
///
/// Este tipo encapsula distintos orígenes de contenido HTML (texto plano, HTML sin escapar o