DEV Community

loading...

Discussion on: HTML can do that?

Collapse
loilo profile image
Florian Reuschel

Not sure if I'll ever encounter a use case for it, but deletion and insertion are pretty rad, didn't know that thing exists. 👍

However, I'd suggest adding text-decoration-skip-ink: none to the <ins> CSS, otherwise macOS font rendering will butcher some of the wavy underlines:

Screenshot of wavy underline below the word "begin", the underline is interrupted by the rather wide "g" glyph which looks inappropriate

Collapse
ananyaneogi profile image
Ananya Neogi Author

That's a great point! I've updated the demo with text-decoration-skip-ink: none 🙂

Collapse
ibasilk profile image
Basil K

thank you!