[csswg-drafts] [css-view-transitions-1] Is "named elements" map in the right order after "capture new state" algorithm? (#9672)

nt1m has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-1] Is "named elements" map in the right order after "capture new state" algorithm? ==
In "capture new state", there is this step:

> If namedElements[transitionName] does not [exist](https://infra.spec.whatwg.org/#map-exists), then set namedElements[transitionName] to a new [captured element](https://drafts.csswg.org/css-view-transitions/#captured-element) struct.

However, it doesn't mention where to insert the element, which means by default we would be adding it at the end of the ordered map. It is the more convenient default to implement, but is this correct? You might expect to want to preserve the paint order or such (slightly more of a pain to do, but possible)

cc @noamr @khushalsagar @fantasai @tabatkins 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9672 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 4 December 2023 06:51:54 UTC