Back to the Lab

Vercel · streamdown6 Oct 2026Open · not merged

Vercel Suite could not detect its own failure

RTL tests pass with every directional class stripped out.

Noticed

streamdown tags blockquotes, list items and table cells with the right dir, then styles them with physical utilities — pl-4, border-l-4, text-left — which do not mirror. In Arabic the blockquote bar sits across the page from its own text, and every table header aligns to the opposite edge from its column. The repository's 31-assertion RTL suite passes with all of those classes removed; I checked it across seven mutation runs.

Made

Converted the direction-aware surfaces to logical utilities, and added an extendTailwindMerge config so cn treats logical and physical classes as one conflict axis. Without it twMerge("ps-4","pl-2") keeps both, and a consumer's override is settled by stylesheet order rather than intent. Nine files; the suite goes 1242 to 1267.

Open the pull request All of the Lab