Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8323801

<s> tag doesn't strikethrough the text

    XMLWordPrintable

Details

    Backports

      Description

        In some cases, <s> tag doesn't render its text with strikethrough (or ‘line-through’ in CSS terms).

        For example,
        <u><s>struck?</s></u>
        <span style='text-decoration: underline'><s>struck?</s></span>

        In both cases, Swing renders the text with underline only.

        If you use <strike> instead of <s>, Swing renders the text with underline and strikethrough.

        Both <s> and <strike> should render the text the same way.

        Attachments

          Issue Links

            Activity

              People

                aivanov Alexey Ivanov
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: