Opened 2 years ago
Last modified 22 months ago
#10928 new defect
Text content should have "word-wrap: break-word"
| Reported by: | MasterQuestionable | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | trac |
| Version: | unspecified | Keywords: | HTML CSS |
| Cc: | MasterQuestionable | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Local fix (uBlock Origin):
trac.ffmpeg.org## #content:style( word-wrap: break-word; )
Should work for most cases, but caveat this:
https://bugzilla.mozilla.org/show_bug.cgi?id=587438#c17
Attachments (1)
Change History (5)
comment:2 by , 2 years ago
| Priority: | normal → important |
|---|
follow-up: 4 comment:3 by , 2 years ago
͏ Unfamiliar with HTML CSS?
͏ .
͏ Anyone with write access to [ https://trac.ffmpeg.org/chrome/common/css/trac.css ]:
͏ May append following lines to immediately address the problem:
[[
/* >>>> (0) */ #content { word-wrap: break-word; } img { max-width: 100%; } /* Interim fix to handle broken appearance with long content. See [ https://trac.ffmpeg.org/ticket/10928 ] for details. */ /* <<<< (0) */
]]
(use Tab for leading space: not preserved by processor)
by , 2 years ago
| Attachment: | .changes.webp added |
|---|
͏ Another ͏"max-width" related issue...![https://trac.ffmpeg.org/raw-attachment/ticket/10928/.changes.webp ͏ [ https://trac.ffmpeg.org/ticket/2325#comment:24 ]](https://trac.ffmpeg.org/raw-attachment/ticket/10928/.changes.webp)
͏ trac.ffmpeg.org##.changes:style( max-width: 40%; )
͏ ; shall fix.
͏ Related definition in:
͏ https://trac.ffmpeg.org/chrome/common/css/ticket.css
͏ .
͏ Substitute whose ͏"width: auto" (implied default) shall work.
comment:4 by , 22 months ago
͏ "word-wrap: break-word"
͏ Recently I think "word-break: break-word" maybe more sensible; but haven't extensively tested.
͏ (they do differ... though confusingly named)
͏ Tried some cases, maybe unpleasant...



![https://raw.githubusercontent.com/MasterInQuestion/attach/main/@ext/trac.ffmpeg.org/ticket/10928/word-wrap.40.webp [ https://trac.ffmpeg.org/ticket/10919#comment:description ]](https://raw.githubusercontent.com/MasterInQuestion/attach/main/@ext/trac.ffmpeg.org/ticket/10928/word-wrap.40.webp)