Variable CSS_LENGTH_UNITSConst
CSS_LENGTH_UNITS: readonly [
"cqmax",
"cqmin",
"cqw",
"cqh",
"cqi",
"cqb",
"svmin",
"svmax",
"lvmin",
"lvmax",
"dvmin",
"dvmax",
"vmin",
"vmax",
"svw",
"svh",
"svi",
"svb",
"lvw",
"lvh",
"lvi",
"lvb",
"dvw",
"dvh",
"dvi",
"dvb",
"vw",
"vh",
"vi",
"vb",
"rcap",
"rem",
"rex",
"rch",
"ric",
"rlh",
"cap",
"em",
"ex",
"ch",
"ic",
"lh",
"cm",
"mm",
"in",
"pc",
"pt",
"px",
"q",
"%",
] = ...
All CSS length units (plus percentage) accepted where Wikidot markup takes a size value.
This is intentionally a superset of what legacy Wikidot accepts: wdpr extends size validation to modern CSS units (viewport, container-query, and root-relative units) instead of mirroring Wikidot's historical
px|em|%allowlists. Units are canonicalized to lowercase.