Closed Bug 655952 Opened 14 years ago Closed 14 years ago

<wbr> interrupts double-click word select

Categories

(Core :: Layout: Text and Fonts, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 584141

People

(Reporter: tkil-mozilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101 Firefox/4.0 Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101 Firefox/4.0 gmail uses <wbr> to break long words, including 40-character SHA-1 hashes used in automated mail from various version control systems (git, hg, etc). While the conditional break is apparently honored (there is no break if the given frame does not require it), double-clicking on such a word will stop at the first <wbr> instead of continuing until the logical end-of-word. Reproducible: Always Steps to Reproduce: 1. visit http://scrye.com/~tkil/firefox/wbr-select.html 2. double-click various lines Actual Results: Under <wbr> and <wbr />, only the first 20 characters will be selected. Expected Results: The entire line should be selected, especially when there is no break required by a small rendering frame. This was initially noticed within gmail, where SHA1 hashes were cut with <wbr> tags after 30 characters. Same behavior was noted on Linux (Fedora 14 x86_64) and OSX (10.6.current), so presumably it's intrinsic to the FF4 code base -- although I recall having the same problem in FF3.6.)
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.