[Webkit-unassigned] [Bug 105884] New: contentEditable: table can get span around itself

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 31 05:10:48 PST 2012


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

           Summary: contentEditable: table can get span around itself
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: raphael.jakse at gmail.com


Created an attachment (id=180971)
 --> (https://bugs.webkit.org/attachment.cgi?id=180971&action=review)
test case

Hello everybody,

I noticed that in Chromium (v22.0.1229.94) :
 - if a part of a table is dragged / copy-pasted in a span that is contentEditable inside a table, the new table gets inside this span.
 - if a part of a table is copy-pasted from rekonq (webkit-qt, 534.34) inside a span:
   - if this span is inside a table and is contentEditable, the table gets pasted inside this span with an extra span around it, so it is surrounded by two span.
   - otherwise, the span is splitted and the span gets pasted between the two elements obtained, but has an extra span as parent.

That's quite complicated to explain but I attached a test case that I hope is simple enough. When I did my tests, the whole table was inside a contentEditable <div>.

I also noticed display errors during my tests (with CSS rules like span:after{content:"</span>"} and span:before{content:"<span>"}, I sometimes got extra "</span>" or "<span>" after experimentations), but that is another bug that would need more investigations before reporting and I can't do them.

Regards,

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