ArthurHub / ArthurHub/HTML-Renderer

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

未關閉
#131 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug CSS
主要語言
C#
星號
1.4k
分支
550
平均合併
14 天 9 小時
30 天內合併 PR
1

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
frontend
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。