[Webkit-unassigned] [Bug 34564] Copying can result in <span> tags around block elements on the clipboard.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 9 02:58:49 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=34564


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com,
                   |                            |enrica at apple.com,
                   |                            |ojan at chromium.org
             Blocks|                            |26483, 42850




--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org>  2010-09-09 02:58:49 PST ---
This bug seems to be still causing a lot of problems in pasting side.  I have a plan to fix this issue in several iterations:
1. Isolate the code to find the special ancestors into a function, and call this function before calling serializeNodes.
2. Modify ReplaceSelectionCommand so that it'll remove duplicated style from all top-level nodes in the fragment.
3. Add an ability for serializeNodes to annotate document + editing style on each top-level nodes in the fragment.  We'll use this only if there is no special common ancestor.
4. Stop wrapping styles in createMarkup

-- 
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