WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
a testcase of contenteditable=false inside contenteditable=true
test_contenteditable.html (text/html), 850 bytes, created by
Johannes Wilm
on 2012-12-18 10:05:31 PST
(
hide
)
Description:
a testcase of contenteditable=false inside contenteditable=true
Filename:
MIME Type:
Creator:
Johannes Wilm
Created:
2012-12-18 10:05:31 PST
Size:
850 bytes
patch
obsolete
><html> ><head> ><title>test contenteditable webkit implementation</title> ></head> ><body> ><div contenteditable="true"> > >This is one contenteditable are. <span contenteditable="false">(<span contenteditable="true" style="background-color:red;">This is a separate editable area.</span>)</span> Here the first area continues. ></div> ><div contenteditable="true">The second contenteditable ares is inside a parenthesis that is not editable. When a non-editable element is inside an editable element <span contenteditable="false">(such as this one)</span>, it can usually be removed by hitting the backspace key after it. However, when inside of that non-editable element there is an editable element, as in the above example, it cannot be removed. Instead, the parts following the are moved inside of both noneditable and editable elements. > ></body> ></html>
<html> <head> <title>test contenteditable webkit implementation</title> </head> <body> <div contenteditable="true"> This is one contenteditable are. <span contenteditable="false">(<span contenteditable="true" style="background-color:red;">This is a separate editable area.</span>)</span> Here the first area continues. </div> <div contenteditable="true">The second contenteditable ares is inside a parenthesis that is not editable. When a non-editable element is inside an editable element <span contenteditable="false">(such as this one)</span>, it can usually be removed by hitting the backspace key after it. However, when inside of that non-editable element there is an editable element, as in the above example, it cannot be removed. Instead, the parts following the are moved inside of both noneditable and editable elements. </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 105323
:
179974
|
182773