RFR: 8323801: <s> tag doesn't strikethrough the text
Damon Nguyen
dnguyen at openjdk.org
Thu Feb 1 21:18:01 UTC 2024
On Wed, 31 Jan 2024 17:08:58 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> When `<s>` tag is used inside `<u>`, the `line-through` style is lost, and the text is rendered with `underline` only. However, if `<strike>` is used, the text is rendered with both `underline` and `line-through` styles.
>
> Both `<s>` and `<strike>` should render the text the same way.
Tested changes and checked results myself locally. Looks good. Only comment is to possibly rename the test to HTMLUnderlineAndStrike or something similar just to be more clear about what it tests, just in case underline needs to be tested too.
-------------
Marked as reviewed by dnguyen (Committer).
PR Review: https://git.openjdk.org/jdk/pull/17659#pullrequestreview-1857646693
More information about the client-libs-dev
mailing list