[w3c/editing] Outdent immediately after indent should restore pre-indent DOM (like popular editors do) (Issue #443)

(Spun off from issue https://github.com/w3c/editing/issues/437).

In popular editors, if you indent something and then immediately outdent it, the result is as if you made no changes. IMHO, that is the expected result, both for the popular editors and for native contenteditable elements.

If you try anything but the simplest of cases, especially in Chromium and WebKit, the result is ... Well, try it out yourself. 😀 You can make it more visually obvious by using multiple levels of `div`s with colored borders and some `br`s sprinkled throughout.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/443
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/443@github.com>

Received on Thursday, 21 September 2023 12:37:27 UTC