ArthurHub / ArthurHub/HTML-Renderer

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

Aberta
#131 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug CSS
Linguagem predominante
C#
Estrelas
1.4k
Forks
550
Merge médio
14d 9h
PRs com merge (30d)
1

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
csharp
Domínio
frontend
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
38/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.