mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 21:44:57 +00:00
SVG import compared `direction` with `rtl` case-sensitively, so `direction="RTL"` or `style="direction: Rtl"` read as left to right. CSS keywords are ASCII case-insensitive (https://www.w3.org/TR/css-values-3/#keywords), and `unicode-bidi` was already read that way. The `<tspan>` embedding direction, the `<text>` paragraph direction and the anchoring of each chunk now read `direction` through one helper that compares without regard to case.