#21503 closed defect (bug) (fixed)
Twenty Twelve: Long words still getting hidden in overflow in widgets
Reported by: | DrewAPicture | Owned by: | lancewillett |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch needs-testing needs-refresh |
Focuses: | Cc: |
Description
Related #21151
URLs are fine but long words are extending into the hidden overflow in widgets.
Patch attached.
Attachments (5)
Change History (17)
#3
follow-up:
↓ 4
@
12 years ago
See notes in http://core.trac.wordpress.org/ticket/21151#comment:16 for the better CSS rules to fix this.
#4
in reply to:
↑ 3
@
12 years ago
Replying to lancewillett:
See notes in http://core.trac.wordpress.org/ticket/21151#comment:16 for the better CSS rules to fix this.
21503.2.2.diff adds the rules suggested in the blog post and #21151. According to s comment on that post, word-break
doesn't work on long letter runs, e.g. 'eeeeeeeee' in Firefox 13 & 14 without word-wrap
but I'd consider even having long letter runs like that an edge case so I left it out.
#5
@
12 years ago
- Owner set to lancewillett
- Resolution set to fixed
- Status changed from new to closed
In [21477]:
#6
@
12 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
[21477] works for the sidebar, it doesn't work for the homepage template though. 21503.3.diff moves the logic to a widget specific selector.
#8
follow-up:
↓ 10
@
12 years ago
- Keywords needs-testing needs-refresh added
- Resolution fixed deleted
- Status changed from closed to reopened
Getting some reports from WP.com customers about IE9 and sidebar text not breaking at word level, it breaks in the middle of words and makes it really hard to read.
We should relook at our hyphenation on .widget-area .widget
and maybe consider adding a rule just for IE9, using the alternate word-wrap: break-word;
instead.
Or ... decide that really long URLs breaking the sidebar is an acceptable edge case. I'd rather have the long URL breakage versus normal text not reading nicely, which is much more common.
To repeat:
- Make a text widget with a paragraph of normal text, and also a long URL.
- View in IE9.
Live example is http://paolobelcastro.com/ — see the Welcome widget text in IE9. Screenshot: http://cl.ly/image/2V36021l3Z0L.
#10
in reply to:
↑ 8
@
12 years ago
Replying to lancewillett:
Live example is http://paolobelcastro.com/ — see the Welcome widget text in IE9.
In Firefox 15 and IE 8, some breaking looks out of place as well (21503.firefox.png).
Overflow hidden: http://cl.ly/image/220P1y1f0m3u
With word-wrap: http://cl.ly/image/2D0L1o3Y2n0W