Skip to main content

LOGICAL_FLOAT_END_VAR

Static LOGICAL_FLOAT_END_VAR 

Source
pub static LOGICAL_FLOAT_END_VAR: &str
Expand description

CSS custom property used in the logical float/clear value polyfill system. Represents the logical “end” direction for float/clear, which maps to the physical direction “right” in left-to-right (LTR) text direction and “left” 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.