Re: [whatwg/dom] Introduce `moveBefore()` state-preserving atomic move API (PR #1307)

@domfarolino pushed 42 commits.

d10399672e153ccda66c3b2fe7aadb5d8b461e28  Initial atomic move skeleton
10aafdca34bb2fae0910501b4072428efa151917  Most of the `MutationObserver` integration
11638c194678ce62394c012d3435b198300c8efc  Remove mutation events flag references
4fb5dc0cd3be4a288c2a34df5358da414a41921f  Populate the `MutationRecord`
3482cfd7e44a5c54e8ceb072c2fda989ddd09c75  Fix punctuation
ec3687aa563ea5eb17d2578b8cf3684e9a61fbfd  Remove trailing whitespace
cbc45d7c5d616107e44d7518aecad7a46205d2e5  `<span>` -> `<a>` plus fix punctuation error
df0d6002c04efeeb51826017fb7a98bf026ca5c9  Camel case
3624be0d22d9dd69ed90dc1f6b2f827b3cd0c596  Throw an exception on failure
f92ea23d01b347297a7be365032cd82388b90c36  Introduce move primitive + moving steps hook/extension
a4aa771875af899f66ca437bd7c8d9db703570f1  Remove changes to insertion primitive
66ddf7ed131ab2e5caaa9e9d82dc29e2791381c8  Revert document flag and mutation record changes
63e6bec1b42594bd04ca090125e7be720be3de9e  Fix mutation record callsites
96bc8e0e0267b2e91d0e0f3f40554903ae32c7cd  Fix wrapping
79eddde96665bcc75b8152c89559fa3a28a22109  Remove suppress observers flag
a0b1a750d3ba6f2d35ac08b7535ddcf3b242c88c  Custom element integration
272b6272d4ed6bf7ea4355fc7ea37d300da6e019  Update live ranges and NodeIterators properly; do not call the remove primitive
e2e35c0977a361845da92708794fc09efa76a155  Correct removal bookkeeping
af44c8f68ba5d4797bb06c0f5664b6208111dbac  Moving steps prose
cd1f872019d5df57e7e9ebacfac6ce219ff8a534  Tighten up pre-move checks
20cb18f552ff1739865aa888c0e1a2bfa175dd16  Assert -> throw condition
83b813a19fcfb68aa4babc58dc3fcf87e07dacae  Move conditions into pre-move validity
2ac3a534c65340d7038901b29976a683293f2aa4  Fix `<old>`
feec1c3fcda2ee75909a01637a592edd5437e277  Ordering and format
bdc2700495f2b863b25eb4e6fb46a7fc241a0312  Fix live range updating logic
ef5bcc5f38c27aea1ff4b9ca235a220aa184bfaa  Document `move` primitive in Range note
ef0f4699af9f41d83b62de02424f53407cbaa1b2  Enable moves in a connected `ShadowRoot` `DocumentFragment` node
651b66d42ddcd0ad243843ffdebefe5b42cce68c  Do not explicitly rethrow
5964e88a2b69d7511344798246310d7164d0120e  Do not do special range handling
0fa5b3d20c04aa591a63f42525330b6e6fac9c15  Support both connected->connected and disconnected->disconnected
941d78c36bf577986aac83822820a1eb3ee26b6e  Whitespace and formatting
d1d4ba680f8f380c5c4a6b287d7ca61e00479ffb  Factor our live range pre-removal steps
e53d678168a44c9f4f6a597bdc0e0db55fda21e2  newParent, newPreviousSibling, and count
834898cb467b7c760cf20f72971f49d53a0d8265  Only queue connectedMoveCallback if connected
c39ed71da9544790897e42dc0955d772b7a103f6  Revert random editorial change
cab7ce24cabc452eadd11fb736f0bd1013129953  Remove newline
167f9bbb63a73493723ac460a1d50f3283294f56  Remove manual custom element upgrade
380c7a16c377ded57f8d610a613b529448b48342  Compare node documents instead of shadow-including roots
d22625e3057e47ee49a62847afd0306934003812  Align pre-move and pre-insertion conditions
031cdd347fa7fe80ace3202005a5eb592d76321a  Add document-is-parent pre-move conditions
70d1ac7d66ff26714c91b7f258a97f731043cfef  Remove unnecessary checks now that we have root checks
57e3060e62d40fe7fd4232549092de5b88cb3577  Live range rename

-- 
View it on GitHub:
https://github.com/whatwg/dom/pull/1307/files/65b4e13ade1039eee8e49316b3728e9f4191c414..57e3060e62d40fe7fd4232549092de5b88cb3577
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1307/before/65b4e13ade1039eee8e49316b3728e9f4191c414/after/57e3>

Received on Thursday, 12 December 2024 14:14:52 UTC