Bug 20041

Summary: Double click does not select word if word contains ­
Product: WebKit Reporter: Matthias Wiesmann <Matthias.Wiesmann>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: adele, ap, mitz, mnater, progame+wk, simon
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://thias.absyrde.net/share/shy_bug.html

Matthias Wiesmann
Reported 2008-07-15 04:52:18 PDT
Overview Description: Using Safari/Webkit on Mac OS X 10.5, when one double clicks in a word that contains the soft-hyphenation mark (&shy;), the whole word is not selected, instead only the text until the soft-hyphen is selected. The fact a word contains such marks should not affect the GUI behaviour. Safari's behaviour is inconsistent with other Mac OS X applications like TextEdit.app. If the text is copy-pasted into TextEdit.app, the soft-hyphens are still recognised, but double-clicking anywhere selects the whole word. Steps to reproduce 1) Open http://thias.absyrde.net/share/shy_bug.html in Safari 2) Double click on the 'r' of procrastinate Expected result: The whole word (procrastinate) selected. Actual Results: Only the first syllable (until the first &shy; mark) is selected. Build Date & Platform: This bug is present in build r35177 - Also Occurs On Safari Version 3.1.2 (5525.20.1) - Doesn't Occur On Firefox Mac OS X 2.0.0.15 Firefox Linux 1.5.0.12eol
Attachments
mitz
Comment 1 2008-07-15 10:34:41 PDT
Yair Yogev
Comment 2 2009-09-28 14:10:38 PDT
this also applies to Windows the matching Chromium bug- http://crbug.com/12690
Alexey Proskuryakov
Comment 3 2011-06-23 12:06:29 PDT
There were a lot of fixes made to soft hyphen handling in nightlies, but this bug still remains.
Mathias Nater
Comment 4 2016-05-10 09:25:36 PDT
This seems to be fixed.
Alexey Proskuryakov
Comment 5 2016-05-10 10:35:12 PDT
Thank you! Works for me too in Safari 9.1.
Note You need to log in before you can comment on or make changes to this bug.