Repository navigation
TINYDOC-3692: Underline applied around subscript or superscript text was drawn at the baseline of the surrounding text instead of under the subscript or superscript text. - #4427
Open
kemister85 wants to merge 1 commit into
Conversation
…was drawn at the baseline of the surrounding text instead of under the subscript or superscript text.
kemister85
marked this pull request as ready for review
November 3, 2026 01:05
kemister85
requested review from
MitchC1999,
ShiridiGandham and
tiny-ben-tran
and removed request for
a team
November 3, 2026 01:05
Comandeer
approved these changes
Nov 3, 2026
| === Underline applied around subscript or superscript text was drawn at the baseline of the surrounding text instead of under the subscript or superscript text | ||
| // #TINYMCE-15001 | ||
|
|
||
| Previously, when underline and subscript or superscript formatting were combined, {productname} could place the subscript (`+<sub>+`) or superscript (`+<sup>+`) element inside the underline element. Browsers then drew the underline at the baseline of the surrounding text. Under subscript text, the underline appeared only in the gaps between words, as dots in Chrome and as short dashes in Firefox and Safari. Under superscript text, the underline sat below the raised text instead of directly under it. This output did not match how desktop word processors underline subscript and superscript text. |
Member
There was a problem hiding this comment.
Under subscript text, the underline appeared only in the gaps between words, as dots in Chrome and as short dashes in Firefox and Safari.
Actually, it's a straight line in both cases, it just looks like this when there is a single space between words; if there is more whitespace, it's more visible. Screen from Firefox:
I would delete the fragment about differences in browsers and keep only the info about the gaps:
Suggested change
| Previously, when underline and subscript or superscript formatting were combined, {productname} could place the subscript (`+<sub>+`) or superscript (`+<sup>+`) element inside the underline element. Browsers then drew the underline at the baseline of the surrounding text. Under subscript text, the underline appeared only in the gaps between words, as dots in Chrome and as short dashes in Firefox and Safari. Under superscript text, the underline sat below the raised text instead of directly under it. This output did not match how desktop word processors underline subscript and superscript text. | |
| Previously, when underline and subscript or superscript formatting were combined, {productname} could place the subscript (`+<sub>+`) or superscript (`+<sup>+`) element inside the underline element. Browsers then drew the underline at the baseline of the surrounding text. Under subscript text, the underline appeared only in the gaps between words. Under superscript text, the underline sat below the raised text instead of directly under it. This output did not match how desktop word processors underline subscript and superscript text. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket: TINYDOC-3692 (TINYMCE-15001)
Site: Staging
Changes:
modules/ROOT/pages/8.10.2-release-notes.adoc(Bug fixes section): Underline applied around subscript or superscript text was drawn at the baseline of the surrounding text instead of under the subscript or superscript text.Pre-checks:
Branch is correctly prefixed(release-note branch)Review: