WarUI

Full RTL layout mirroring

GRID-A24-F14P0baselinePlanned

Setting direction 'rtl', or detecting it from the locale or from the dir attribute of an ancestor element, mirrors the whole grid: column order, scroll origin, resize handles, alignment, menus and icons. The grid uses CSS logical properties so a single stylesheet serves both directions. Scroll position APIs behave the same across browsers.

Planned. This page shows the specification from issue #204. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A grid with 20 columns (wider than the viewport), locale 'he-IL', direction 'auto'.

Expected behavior

In RTL the column order, scrollbar origin, sort and expand icons, resize grips and context menus all mirror. Icons with meaning that does not depend on direction (for example a checkmark) are not mirrored.

Planned API surface

direction: 'ltr'|'rtl'|'auto'getScrollStart/setScrollStartdirectionChanged

Acceptance criteria

  • 'auto' resolves direction from the locale's text info and otherwise from computed CSS direction. (pending)
  • Scroll APIs use start/end semantics that are consistent across Chromium, Firefox and WebKit. (pending)
  • Each icon in the catalog is marked as mirrorable or not. (pending)
  • Column resize dragging toward the start side shrinks the column in both directions. (pending)