[Webkit-unassigned] [Bug 232939] Text wraps unnecessarily when using certain fonts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 10 06:24:00 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=232939

--- Comment #4 from Oliver Byford <oliver.byford at digital.cabinet-office.gov.uk> ---
>From further testing, this appears to be an issue when:

- using certain fonts – it happens with our font ('GDS Transport'), but not Roboto
- an element is intrinsically sized (e.g. `display: inline-block`)
- there is at least one new line anywhere within the inner HTML of the element – unless there is a space immediately before the new line

See https://codepen.io/36degrees/pen/abyjzNr for a minimum viable example of the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211110/46541393/attachment.htm>


More information about the webkit-unassigned mailing list