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

@annevk pushed 48 commits.

0d30952bf048f110e3a0fb8442cde6216ac82afe  Initial atomic move skeleton
3073a9c52321e3ab49b8cc04b362553a791e5b94  Most of the `MutationObserver` integration
667050064068f8e8d07444035c399a1467197161  Remove mutation events flag references
85d32befe50fc733a3860fc73a24b8a33dd5cd7f  Populate the `MutationRecord`
945189c247f95b338d3fd8d7def09fc47ebc2489  Fix punctuation
8ecd282ee242f599d5275ff8b4b2b24905221385  Remove trailing whitespace
b798d9a67b59879c0dfb7eca09109ffc10a07e7b  `<span>` -> `<a>` plus fix punctuation error
e5bb88030b680dc0597004b7586799480a1166b4  Camel case
70e15315de035df4ff395fa64f3c4df69eaef013  Throw an exception on failure
512ab18db258fb9036b49291d39f40e5cfd48a1e  Introduce move primitive + moving steps hook/extension
2afc546e6c307957eb283d08ab3d7e2d4601f09a  Remove changes to insertion primitive
086207815272d802595a56876807d2791e3745e6  Revert document flag and mutation record changes
c59a7e588d19bccdb0d34cdae8bb3d943ea8fa5b  Fix mutation record callsites
30fc53c95f1e6f1b3b36640f1882932a3ae28577  Fix wrapping
c53fba85dd0407b2577d2e6b0e033adb7ae83e30  Remove suppress observers flag
47e97f0b8191bd85e299c47792bd57604530397a  Custom element integration
75f5c75330e5339dbf16e85abe8504b38ff49471  Update live ranges and NodeIterators properly; do not call the remove primitive
5aa8a7087d3e59777d7c8e4cd914f22f085250c1  Correct removal bookkeeping
fe7c678ed18a5cd5b89e39c0ee9ad310d228cbe7  Moving steps prose
cfe40ffc6ebeff830fbca7e27ea6370d5976a9a9  Tighten up pre-move checks
1d0f90e5eb20e2f6a84b036cdb380d85ae8d451d  Assert -> throw condition
abb3c4abc3ce477b7de1b0c5527d63586bd41e3a  Move conditions into pre-move validity
73bdd6dc6f1d01625ac2ec0d9dd4c738a1c69264  Fix `<old>`
3ae1115f8d08d1afa149315b2a27b342458a9cf4  Ordering and format
45d089c8bf51c57e6befb23c0e261c3bc5c8ab00  Fix live range updating logic
62cf625dfe29c2305077741c593ee5d12dc7880c  Document `move` primitive in Range note
457c410b3ba50adca19b403452c89d7e2cc87b6f  Enable moves in a connected `ShadowRoot` `DocumentFragment` node
41b1742ea2ccca9617dddbae454c266e8ff0fe41  Do not explicitly rethrow
fedd42b88e02e7c644d40a9d60ea5c40f0f5b295  Do not do special range handling
cb549cacd4e8890b59ab1967a5966cfce8e0ff43  Support both connected->connected and disconnected->disconnected
2bc92133d5d3ff4f595c3518e97bd9fa86aea08b  Whitespace and formatting
f1cf1260e7b3b4b4674f4f7c64f976b93a12270d  Factor our live range pre-removal steps
a40701df857231968ce1d51d6663ab38eb1ffe76  newParent, newPreviousSibling, and count
7bcdeb2b47692e90acd12d6bed961f1f2f52984c  Only queue connectedMoveCallback if connected
22ff396cb0c1c12988e15517d157695a14541684  Revert random editorial change
9478d7fcb542b85647c0a59cde750bde4219de94  Remove newline
fd643dcae206a3fe9326aeee03e68d46de6e9bc6  Remove manual custom element upgrade
3d0651d752848ee334196ff4660e9545d292cca6  Compare node documents instead of shadow-including roots
f5c1e8338ade927a3156319c73a72090f1794645  Align pre-move and pre-insertion conditions
bc64f9a7362559335e81d0079c72cf06f00e3e71  Add document-is-parent pre-move conditions
d6436f458b5b381388a9ec0ecf2425dce5573b85  Remove unnecessary checks now that we have root checks
41e8864577b845ccda6de0a2c36257c0ed23bc66  Live range rename
7c781c5afe44770ca76d94744e69c1c4924c4214  Empty arguments
b0a10e48f629625bf13c5658af3e98aaa1dbc12b  Update dom.bs
21ee3c11319d513c9355a53bc037e4f292fc889a  Update dom.bs
3c8ba6d6921af634d7bf24e01402781a9a16d75e  Remove run these steps
c6aaaceb4ddbab280d91368b0761d377f2e86fb1  Move to ParentNode, simplify pre-move conditions, add web developer box
227fd9d35c6c8e81653c0b8116f155f5e0e8b4ea  nits

-- 
View it on GitHub:
https://github.com/whatwg/dom/pull/1307/files/3f3e94c5beda922962dacaeb606087f57bd7f7be..227fd9d35c6c8e81653c0b8116f155f5e0e8b4ea
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1307/before/3f3e94c5beda922962dacaeb606087f57bd7f7be/after/227f>

Received on Friday, 13 December 2024 08:18:34 UTC