ecmarkup icon indicating copy to clipboard operation
ecmarkup copied to clipboard

Rendering issue in Safari on every 10th step

Open acutmore opened this issue 1 year ago • 2 comments

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

acutmore avatar Oct 10 '24 06:10 acutmore

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 avatar Oct 10 '24 17:10 bakkot

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.

bakkot avatar Oct 21 '24 18:10 bakkot