WebKit Bugzilla
Attachment 361388 Details for
Bug 194390
: indent/outdent execCommand does some wrong/unneeded re-parenting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Test case to reproduce the issue
test1.html (text/html), 386 bytes, created by
Javier Fernandez
on 2019-02-07 04:32:15 PST
(
hide
)
Description:
Test case to reproduce the issue
Filename:
MIME Type:
Creator:
Javier Fernandez
Created:
2019-02-07 04:32:15 PST
Size:
386 bytes
patch
obsolete
><!doctype html> ><div contenteditable="true"> > <div style="border: 1px solid blue">a<br>b</div> ></div> > >select all, indent, then outdent ><button onclick="document.execCommand('indent', false);">indent</button> ><button onclick="document.execCommand('outdent', false);">outdent</button> ><br/> >Bug: 'indent' creates new blocks for each line; then 'outdent' removes block from first line
<!doctype html> <div contenteditable="true"> <div style="border: 1px solid blue">a<br>b</div> </div> select all, indent, then outdent <button onclick="document.execCommand('indent', false);">indent</button> <button onclick="document.execCommand('outdent', false);">outdent</button> <br/> Bug: 'indent' creates new blocks for each line; then 'outdent' removes block from first line
View Attachment As Raw
Actions:
View
Attachments on
bug 194390
: 361388 |
361389
|
361390
|
361391
|
361392