ArthurHub / ArthurHub/HTML-Renderer
text-align: justify adds space after hyphen in hyphen separated words
- 主要语言
- 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