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

Rendering issue in Safari on every 10th step #623

Open
acutmore opened this issue Oct 10, 2024 · 2 comments
Open

Rendering issue in Safari on every 10th step #623

acutmore opened this issue Oct 10, 2024 · 2 comments

Comments

@acutmore
Copy link

Every 10th step has an extra space before the step text.

Safari (Version 18.0 - 19619.1.26.111.10, 19619) (space highlight mine):

Image

This might be a browser bug as it looks OK in Chrome:

Image

@bakkot
Copy link
Contributor

bakkot commented Oct 10, 2024

Thanks for the report. This is caused by the hidden text to make step numbers copyable, somehow.

Also, it's not exactly "every 10 steps", it's "steps which have a 0 in them". I am guessing the reason 0 is special is because we're using font-variant-numeric: slashed-zero;, but that's a wild bug.

I'll try to make a tiny repro to file against Webkit.

@bakkot
Copy link
Contributor

bakkot commented Oct 21, 2024

Filed https://bugs.webkit.org/show_bug.cgi?id=281863. Not sure what else we can do short of UA-sniffing to disable the hidden text.

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

No branches or pull requests

2 participants