linebreak inserted for element with lang="de" when not necessary (potential addition of hyphen taken into account?)
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: aryx, Unassigned)
Details
Attachments
(1 file)
516 bytes,
text/html
|
Details |
Firefox Nightly 66.0a1 20190114104248, also reproduces with 64
Today a user reported the issue from bug 1507661 on IRC and provided the attached test case. It also has a different issue: The word "N-Logo" gets wrapped for lang="de" even if it fits into one line if lang="en" is used. Is the additional hyphen taken into account when the calculation if the text will fit is done?
Current situation:
lang="en":
N-Logo
lang="de":
N--
Logo
in the source as "N-Logo"
Comment 1•7 years ago
|
||
I'm not sure I understand the issue being described here (besides the incorrect rendering of an extra hyphen). I think the problem is simply that hyphens:auto with lang=de is incorrectly introducing a hyphenation opportunity after the existing explicit hyphen, and so the line wraps there because "N--" fits on the remaining space of the first line.
So afaics, this is just a further example of the same issue as bug 1507661.
Description
•