Bug 67770
| Summary: | -webkit-hyphens:auto; hyphenates runs with white-space:nowrap; | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nicholas Shanks <nickshanks> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | bfulgham, mitz |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Nicholas Shanks
I use white-space:nowrap; on table cells (along with overflow:hidden; and text-overflow:ellipsis;) to keep rows compact.
When I recently added :root { -webkit-hyphens:auto; } to my User CSS file, I noticed that some table rows would hyphenate, and grow vertically onto a second line, whereas others would curtail on the ellipsis as before.
I realise it is slightly outside the remit of the original CSS declaration, but I think white-space:pre; and white-space:nowrap; should disallow hyphenation too.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
mitz
I cannot reproduce this based on the verbal description. Please attach a test case. Thanks!
Nicholas Shanks
This also affects input elements. Reduction will come when I have the time, maybe during a "lunch break".