fix: Set toolbar direction based on toolbar language
Description
@sakhawy
This PR sets the toolbar text direction based on the toolbar language and not based on the document language.
This needs a "polyfill" to work with Chrome before 120 which is added at least in a basic version.
Related resources
- #...
- #...
Checklist
- [ ] I have opened this pull request against
develop-4 - [ ] I have added or modified the tests when changing logic
- [ ] I have followed the conventional commits guidelines to add meaningful information into the changelog
- [ ] I have read the contribution guidelines and I have joined #workgroup-pr-review on Slack to find a “pr review buddy” who is going to review my pull request.
The patch is minimal, though. We might find places with weird layout. I'll try to add a few more lines later.
Alright, I'll do some manual tests later!
@sakhawy So, the polyfill should be complete ;-)
Once, we have this merged, I'll chery-pick it into #7901
@sakhawy Can you give this a final check, so we can merge it. I would love to backport it to 3.11 and include it in 3.11.6 which I am about to release...
Well spotted, thank you!
@sakhawy Fixed both resize cursor and missing polyfill patch. If you're good to go, let me know by approving the PR :-)