[Webkit-unassigned] [Bug 42009] New: indenting a pre inside a table is very broken
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 9 17:33:27 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42009
Summary: indenting a pre inside a table is very broken
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tony at chromium.org
Here's a test case:
http://plexode.com/eval3/#ht=%3Ctable%20contenteditable%3Dtrue%3E%0A%3Ctr%3E%3Ctd%3E%3Cpre%20id%3D'p'%3Eline%201%0Aline%202%3C%2Fpre%3E%3C%2Ftd%3E%3C%2Ftr%3E%0A%3C%2Ftable%3E&ohh=1&ohj=1&jt=var%20p%20%3D%20document.getElementById(%22p%22)%3B%0Avar%20selection%20%3D%20window.getSelection()%3B%0Aselection.setBaseAndExtent(p%2C%200%2C%20p%2C%200)%3B%0Aselection.modify(%22extend%22%2C%20%22forward%22%2C%20%22line%22)%3B%0Aselection.modify(%22extend%22%2C%20%22forward%22%2C%20%22line%22)%3B%0Adocument.execCommand(%22indent%22)%3B&ojh=1&ojj=1&ms=100&oth=0&otj=0&cex=1
The test case should indent the 2 lines of text, but instead it indents the 2 lines but leaves a duplicate of the second line.
After fixing bug 38231, the correct lines get indented, but there are extra blank lines between the indented lines.
--
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