5

On this suggested edit I noticed some odd behavior in the strikeout:

enter image description here

I observed this on iPadOS 16.2's stock Safari and no userscripts. I'm not entirely sure what's wrong, but this extension of the strikethrough beyond the text seems to only happen in monospace text, not regular text.

5
  • Looks like this is somehow the div that should just be plain text that gets the strikethrough applied and creates this. If I inspect the element and edit the div out, it fixes the odd behaviour Commented Apr 14, 2023 at 18:44
  • 2
    And so, I can reproduce this on Safari version 16.3 (18614.4.6.1.6) on a Mac. Commented Apr 14, 2023 at 18:45
  • 2
    this sheds some light on what's going on there. The problem with inline code blocks having trouble wrapping is well-known by now: there is a huge number of whitespaces on that line.
    – 0Valt
    Commented Apr 14, 2023 at 18:47
  • 1
    Source link: https://stackoverflow.com/revisions/87b93c67-55d3-4095-8bbf-6642c1337395/view-source. 128 spaces between "::before" and "Your payment could not be taken" (at least when copied from that page; it is not always representative of the real source, in particular newlines). No trailing space. Commented Apr 14, 2023 at 19:40
  • (Source link: First constructed timeline URL: https://stackoverflow.com/posts/76011602/timeline (or click through to it on the question). Then the GUID (87b93c67-55d3-4095-8bbf-6642c1337395) from the first (at the bottom) timestamp's URL, 2023-04-14 04:29:18Z: https://stackoverflow.com/posts/76011602/timeline#history_87b93c67-55d3-4095-8bbf-6642c1337395. There may be an easier way.) Commented Apr 14, 2023 at 19:54

0

You must log in to answer this question.

Browse other questions tagged .