Re:Why ContentEditable is Terrible (2014)
by evincarofautumn on Tuesday December 01, 2015 @11:41PM
(#10661008)
That’s not the same edit. In one case, you’re appending to the document. In the other, you’re appending to a child element. However, appending “a fallacy” to the document in both cases would produce different results due to text positioning.
I think if you want #1, you need an isomorphism between documents and their appearance. This article only asks for a homomorphism, where different documents are allowed to produce the same result.
As a simple example, take document (a) consisting of the words 'an axiom' styled white on a white background, and document (b) an empty document with default styling of black text on a white background. Both would appear blank.
Now apply an edit, say inserting the text 'a fallacy' into both documents. After the edit, document (a) can be expected to remain blank while document (b) can be expected to show 'a fallacy'.