[Webkit-unassigned] [Bug 100453] New: contentEditable: Style of List Item Leaks Through After List End
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 25 21:17:57 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=100453
Summary: contentEditable: Style of List Item Leaks Through
After List End
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hbchai at gmail.com
Created an attachment (id=170804)
--> (https://bugs.webkit.org/attachment.cgi?id=170804&action=review)
Test page to repro issue.
Steps to repro:
1) Open the attached page contentEditable.html
2) Position the cursor after "Foo" in the editable region.
3) Press [Enter] twice to cause the list to be closed. Type "Bar".
4) Click "Update Markup" to display the HTML structure of the editable field.
Expected:
The CSS style of the list items should be not extend beyond the list.
Actual:
The text "Bar" is surrounded by <span>'s which explicitly set the line-height as for the list item style. The new style is sticky and can't be gotten rid of easily. The output markup in Chrome 22 (WebKit 537.4):
<ul><li>Foo</li></ul><div><span style="line-height: 25.600000381469727px;">Bar</span></div>
Output markup in FF 16:
<ul><li>Foo</li></ul><p>Bar<br></p>
Output markup in IE 9:
<UL>
<LI>Foo</LI></UL>
<P>Bar</P>
--
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