Re: [whatwg/dom] Add convenient, ergonomic, performant API for sorting siblings (#586)

@pygy your suggestion is an example ... uhtml/lit or others would use a `<!--comment-->` to pin-point the array of items that indeed cannot be ordered if the suggested proposal works on every node at the parent level. The diffing in template literals based libraries has comments as boundary for lists that change through new ordered items so the proposal as is wouldn't change and it would ask for an extra `<div>` container around the array ... that means: this proposal works only at one level on the parent but it's also being discussed to replace the need for CSS ordering so *maybe* that's good enough as initial API/helper?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/586#issuecomment-1425252482
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/586/1425252482@github.com>

Received on Friday, 10 February 2023 06:24:52 UTC