From this answer to "Simultaneous editing (exact same timestamp) - no warning when overwriting other edit" by zxq9:
My understanding is that both commits should be accepted, the latest one takes precedence, overriding the other. Both are in the revision history. In what is essentially a wiki system this is much better than mysteriously rejecting the arbitrarily invalidated commit. They are both valid and neither should be discarded.
I think since you were both basing your edits on revision 2 of the question, the system just overwrote the edit that Jongware made with yours. Since it was the same edit, no changes were present, but your revision was recorded nonetheless.
This is definitely not treated as though you were editing Jongware's revision (revision 3) because, as you pointed out, there were no changes: even whitespace changes are eligible for side-by-side comparisons, as Lucas Trzesniewski's revision (#3) to your question shows. You can easily test this by trying to submit an edit with no changes (click "edit", then "Save edits") - since there are no changes, no revision is recorded.
This is also not treated as though changes were made and undone - see revision 6 of this answer, which clearly says:
[Edit removed during grace period]
I'll see if I can get two people on the SOCVR chat room to coordinate edits to test this theory.
Update: I asked on chat and got a couple of replies which confirm this:
Wai Ha Lee: Can I recruit two volunteers for a 2 minute experiment for a meta answer?
Tunaki: @WaiHaLee No need. I confirm. It works like this. It seems to be recent change.
...
Sam: @WaiHaLee Yeah, I've seen this happen a lot.