Summary: | Konqueror/webkit adds linebreaks in the middle of short words with word-wrap: break-word; | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kwebkitpart | Reporter: | Christian Boltz <kde-bugs> |
Component: | general | Assignee: | webkit-devel |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | adawit |
Priority: | NOR | ||
Version: | 1.2.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | minimal testcase |
Description
Christian Boltz
2012-03-11 19:47:56 UTC
Argh, that's the result of typing a bugreport too fast, later finding out the real reason and not updating the whole text :-/ Please replace all "white-space: pre-wrap" with "word-wrap: break-word" in the bug description. The second and third paragraph should be: Konqueror with webkit does linebreaks in the middle of a word when using "word-wrap: break-word;" even for short words: Konqueror with webki t does hard linebrea ks for word-wrap: br eak-word, only based on the number of cha racters in a line. Created attachment 69512 [details]
minimal testcase
This is an upstream Webkit issue that affects Chromium as well. Neither Firefox nor KHTML will not do any word wrapping inside a <pre> tag ; as is the case with your minimal test. I dunno if that is a bug as well. Anyhow, there is a similar bug report upstream in Webkit's bug database. See https://bugs.webkit.org/show_bug.cgi?id=38222. |