[html] Añade soporte para unidades CSS

This commit is contained in:
Manuel Cillero 2025-10-13 13:13:33 +02:00
parent ed22d3d591
commit 3c848cb368
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