[Webkit-unassigned] [Bug 194390] New: indent/outdent execCommand does some wrong/unneeded re-parenting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 7 04:32:15 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=194390

            Bug ID: 194390
           Summary: indent/outdent execCommand does some wrong/unneeded
                    re-parenting
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfernandez at igalia.com
                CC: wenson_hsieh at apple.com

Created attachment 361388

  --> https://bugs.webkit.org/attachment.cgi?id=361388&action=review

Test case to reproduce the issue

What steps will reproduce the problem?
(1) Load the attached case
(2) Select all the text elements
(3) Click on ident button
(4) Click on outdent button

What is the expected result?

After step 3, both text elements are indented and are still inline children of the block with blue border (see indent-outdent-firefox.html)

After step 4, both text elements are outdented, getting back to the original rendered HTML (indent-outdent-firefox-1.html

What happens instead?

After step 3, both text elements are indented but they have their own parents; they are not siblings anymore. (see indent-outdent-chrome.html)

After step 4, the text elements in the first line is not children of the block with blue border (see indent-outdent-chrome-1.html)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190207/c3ec7867/attachment.html>


More information about the webkit-unassigned mailing list