UNCONFIRMED109942
Escaping <ul> creates a <div>
https://bugs.webkit.org/show_bug.cgi?id=109942
Summary Escaping <ul> creates a <div>
Alex
Reported 2013-02-15 07:56:13 PST
Steps to reproduce: ============ Created a <ul><li></li></ul> element inside a div with contenteditable=true. Actual results: ========= When you try to escape <ul> by pressing Enter key twice, it creates a new <div>. Expected results: ========== When pressing Enter key twice, to escape <ul> it should create a new <p> not <div> if there is a <p> already inside the contenteditable (like in the demo). Firefox 18 works as expected. Check out the demo: http://jsfiddle.net/k3vfp/ (<div> elements have a shade of grey as background)
Attachments
Note You need to log in before you can comment on or make changes to this bug.