Copy / paste text as described in the attached example Note that this breaks web-based editors using insertHTML to paste text from clipboard (safe paste) We have observed it on the DEV channel for some time, now it's in the BETA channel but not in the STABLE. Observed in Chrome 20 (BETA) and reported here - https://code.google.com/p/chromium/issues/detail?id=129283
Created attachment 143431 [details] Text case - copy/paste text in the editable area as described in the example
Could you please mentioned which editors are broken, and describe what goes wrong in those? The results in the test case are quite dramatic, is this what happens on actual sites too?
I have a fairly long range: <http://trac.webkit.org/log/trunk/?rev=112406&stop_rev=112382> Perhaps <http://trac.webkit.org/changeset/112389> "Selectively retrieve text content around a given position" or <http://trac.webkit.org/changeset/112399> "An extra line break is inserted when pasting into a font element"?
<rdar://problem/11519707>
There latter seems more likely, of course.
It's likely http://trac.webkit.org/changeset/112399.
I will look at it. (In reply to comment #6) > It's likely http://trac.webkit.org/changeset/112399.
This regression came from the combination of r92695 and r112399. It's a very sneaky bug.
Created attachment 143918 [details] Fixes the bug
That was quick. Thanks!
Thanks for fixing it. Sorry I didn't get a chance to work on it during the day, and was about to look at it with my son tonight, then I saw your fix :-) Thanks again! (In reply to comment #10) > That was quick. Thanks!
Comment on attachment 143918 [details] Fixes the bug Clearing flags on attachment: 143918 Committed r118449: <http://trac.webkit.org/changeset/118449>
All reviewed patches have been landed. Closing bug.