[Webkit-unassigned] [Bug 61484] New: When copying a wrapped block of text, all whitespace before a word may be eaten
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 25 16:56:11 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=61484
Summary: When copying a wrapped block of text, all whitespace
before a word may be eaten
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: b.brachaczek at gmail.com
To be precise: When copying a wrapped block of text, all whitespace before a word is eaten in resulting rich text if that word is the first word in line and is in different HTML tag than the last word in previous line. Plain text is correct.
Example HTML code:
<span>text text text text text text text text</span>
<span>text text text text text text text text</span>
text text text text text text text text
<span>text text text text text text text text</span>
If you set WebKit's widget width so that it can hold exactly eight "text" words in each line, then select all and copy it, you'll get incorrect rich text in clipboard. When pasting to OpenOffice.org Writer, you'll get no space between each 8*n'th and 8*n+1'st word. On a side note, if that text block is wrapped in a different way, whitespace isn't eaten but in those places I get non-breaking spaces in OO.o Writer and '<span class="Apple-converted-space"> </span>' in HTML clipboard data retrieved using Qt and Qt-WebKit.
Reproduced on Chromium 12.0.742.53 and on Qt-WebKit shipped with Qt 4.7.3 on Linux.
Might be related to or even a dupe of Bug 31073.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list