NEW177670
Extra lines added wrapping mid-unbroken-word with pre-wrap
https://bugs.webkit.org/show_bug.cgi?id=177670
Summary Extra lines added wrapping mid-unbroken-word with pre-wrap
jamiec
Reported 2017-09-29 10:33:56 PDT
Created attachment 322194 [details] HTML to reproduce Extra line-breaks are added when restricting the size of text content that includes either single spaces or line-breaks to smaller than a word and using white-space: pre-wrap (word-wrap: normal) - Wrapping at the end of the word introduces a line-break if there already was one, producing a new completely empty line. - Two consecutive words that don't fit separated by a single space results in three lines of text, including one line just for the space. Existing line-breaks should be used or replaced instead of new ones added at the same position. Wrapping words separated only by spaces should not introduce empty lines containing only white-space. This also affects Chrome but not Firefox or Edge.
Attachments
HTML to reproduce (209 bytes, text/html)
2017-09-29 10:33 PDT, jamiec
no flags
Radar WebKit Bug Importer
Comment 1 2017-09-30 12:04:08 PDT
Note You need to log in before you can comment on or make changes to this bug.