ArthurHub / ArthurHub/HTML-Renderer

text-align: justify adds space after hyphen in hyphen separated words

Ouverte
#131 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug CSS
Langage dominant
C#
Étoiles
1.4k
Forks
550
Merge moyen
14 j 9 h
PR mergées (30 j)
1

Description

When using text-align: justify there is a space is after the hyphen in hyphen separated words. This is only a visual artifact as there is no space there (can be confirmed by copying and pasting the text into another application).

For example, non-public business looks like non- public business.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Reproduce the issue with text-align: justify and the text “non-public business,” then compare the rendered result with copied text. Trace the HTML rendering and text-layout entry points to find where spacing around hyphen-separated words is calculated. Done means the visual gap after the hyphen is gone while justified text still renders correctly.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.