Skip to content

Conversation

@alhajrahmoun
Copy link
Contributor

This PR adds support for updating the html[dir] attribute during navigation, similar to how the html[lang] attribute is currently handled. See #1035.

This is important for languages that are written from the right to the left (like Arabic).

alhajrahmoun and others added 2 commits November 9, 2025 22:58
Append the `#setDirection` implementation to the existing `#setLanguage`
private method.

Use `expect` rather than `assert` in the accompanying test coverage.
Remove the `nextEventNamed("turbo:load")` test synchronization in favor
of Playwright's underlying assertion retries.
@seanpdoyle seanpdoyle force-pushed the update-html-dir-attribute branch from 7615adf to d49c814 Compare November 10, 2025 04:08
@jorgemanrubia jorgemanrubia merged commit 1171481 into hotwired:main Nov 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants