Skip to content

Tooltips of vertical-lr and rtl input range are backwards #10843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
regseb opened this issue Dec 10, 2024 · 1 comment
Open

Tooltips of vertical-lr and rtl input range are backwards #10843

regseb opened this issue Dec 10, 2024 · 1 comment
Labels
i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.

Comments

@regseb
Copy link

regseb commented Dec 10, 2024

What is the issue with the HTML Standard?

Hello,

I have a problem with vertical range sliders: the tooltip text is written backwards.

Based on the article Creating vertical form controls, I've created a vertical range slider: jsbin

<form>
  <input type="range" value="42" title="42 %" />
</form>
input[type="range"] {
  writing-mode: vertical-lr;
  direction: rtl;
}

screenshot

But the text in the tooltip is written backwards (expected: 42 %). I think it's because the direction: rtl also applies to the tooltip.

This comment reports a similar problem (which has been fixed): the orientation of the tooltip is changed.

@annevk
Copy link
Member

annevk commented Dec 10, 2024

This would require solving w3c/csswg-drafts#9832.

@aphillips aphillips added the i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. label Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Development

No branches or pull requests

3 participants