[Webkit-unassigned] [Bug 31678] New: contentEditable doesn't wrap elements around content until after the first line
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 19 12:16:23 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31678
Summary: contentEditable doesn't wrap elements around content
until after the first line
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
URL: http://www.mozilla.org/editor/midasdemo/
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: timmc at microsoft.com
For a new contentEditable region, only the second line will be wrapped in a
container element (e.g. div or p).
Repro steps:
1) Navigate to http://www.mozilla.org/editor/midasdemo/
2) Click into the CE region and type a line
3) Hit enter and type another line
4) Click "View HTML Source"
Actual: You will see that the first line is not contained in the relevant line
element.
Expected: The first line, like the second line, has been wrapped in the
editor's line element.
Problem: Because content is not uniformly wrapped, operations that should apply
to the current line/block will fail on the first line. Any attempt to walk the
DOM to find the parent will reach the contentEditable root.
--
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