ArthurHub / ArthurHub/HTML-Renderer

line-height doesn't work when it is less than font-size

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

描述

Line-height should work if even if it is less than the font-size, and text overlapping is expected with multiple lines.

`

This is a paragraph with a specified line-height.

The line height is here set to 10 pixels.
`

貢獻指南

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

研究方向

在 renderer 中重現提供的 HTML 片段,並檢查其 font-size、line-height 以及多行文字的排版方式。對於 14px 文字,10px 的 line-height 獲得遵循,並按照描述允許行重疊,即表示完成。

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

評估

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

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

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