IE11 MSHTML Editor: "2D-Position" does not work correctly in HTML5 document mode.

Issue #4353652 • Assigned to Saty B.

Details

Created
Aug 24, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Created the following document, then open in IE11, then try to move the two div elements by dragging and dropping them to different parts of the page window. Movement is allowed in the horizontal dimension, but not in the vertical one.

Next, remove the <!DOCTYPE html> statement and re-test: the elements can now be moved in both dimensions.

<!DOCTYPE html>
<html>
<body contenteditable="true">
<div style="position:absolute; top:000px; left:100px; border: 12px solid red; height:200px; width:300px;">Thing ONE</div>
<div style="position:absolute; top:100px; left:200px; border: 12px solid green; height:200px; width:300px;">Thing TWO</div>
</body>
</html>
<script>
document.execCommand("2D-Position", false, true);
</script>

Expected Results:

When document.execCommand(“2D-Position", false, true) is executed on a document body marked contentEditable="true” then the user should be able to move various elements of the page to other X and Y locations by dragging them around.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Amit J.”

      Changed Assigned To to “Saty B.”

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

    Sign in