WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
109942
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug