Skip to content
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

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

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants