Skip to main content

LOGICAL_FLOAT_START_VAR

Static LOGICAL_FLOAT_START_VAR 

Source
pub static LOGICAL_FLOAT_START_VAR: &str
Expand description

CSS custom property used in the logical float/clear value polyfill system. Represents the logical “start” direction for float/clear, which maps to the physical direction “left” in left-to-right (LTR) text direction and “right” in right-to-left (RTL). This variable should be defined on the root or relevant container elements, typically by a polyfill or runtime logic that sets its value based on the current text direction.

This ensures that logical float/clear values behave correctly in both LTR and RTL contexts.