Indent and outdent: document.execCommand() support bug

Won’t fix Issue #1014067


Oct 30, 2014
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

  1. In an HTML file, add the markup above and the CSS so as to make the problem more clear.
  2. Open the HTML file in Internet Explorer 11, select text in the order listed above, and call document.execCommand() method as listed above too.
  3. See what would happen then.

Expected Results:

When we quote either

  1. “paragraph 1 inside a section” and "paragraph 2 inside a section", or
  2. “paragraph 1 inside a div” and "paragraph 2 inside a div",
    and we want to remove the quote from the second paragraph previously quoted, select that paragraph only and use document.execCommand(“outdent”) method, it would be expected that the innerHTML inside the div or section should be as simple as:

<blockquote><p>Paragraph 1 inside a section</p>
</blockquote><p dir="ltr">Paragraph 2 inside a section</p>
<blockquote><p>Paragraph 1 inside a div</p>
</blockquote><p dir="ltr">Paragraph 2 inside a div</p>

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To from “Tony S.” to “IE F.”

      Changed Status to “Won’t fix”

    You need to sign in to your Microsoft account to add a comment.

    Sign in