Skip to content

Commit 238805f

Browse files
vmpstrDevtools-frontend LUCI CQ
authored andcommitted
Add ViewTransitionGroupChildren to the list of view transition pseudos
This patch adds ::view-transition-group-children pseudo to be a part of view transition pseudo elements, ensuring it appears in the elements panel [email protected] Bug: 425901164 Change-Id: I58d3bb0f6c8ae7ae687a296f3975d274e00dbaae Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6701268 Commit-Queue: Simon Zünd <[email protected]> Reviewed-by: Changhao Han <[email protected]> Reviewed-by: Simon Zünd <[email protected]>
1 parent bd26195 commit 238805f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

front_end/core/sdk/DOMModel.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ export class DOMNode {
233233
return [
234234
Protocol.DOM.PseudoType.ViewTransition,
235235
Protocol.DOM.PseudoType.ViewTransitionGroup,
236+
Protocol.DOM.PseudoType.ViewTransitionGroupChildren,
236237
Protocol.DOM.PseudoType.ViewTransitionImagePair,
237238
Protocol.DOM.PseudoType.ViewTransitionOld,
238239
Protocol.DOM.PseudoType.ViewTransitionNew,
@@ -361,6 +362,7 @@ export class DOMNode {
361362
return [
362363
...this.#pseudoElements.get(Protocol.DOM.PseudoType.ViewTransition) || [],
363364
...this.#pseudoElements.get(Protocol.DOM.PseudoType.ViewTransitionGroup) || [],
365+
...this.#pseudoElements.get(Protocol.DOM.PseudoType.ViewTransitionGroupChildren) || [],
364366
...this.#pseudoElements.get(Protocol.DOM.PseudoType.ViewTransitionImagePair) || [],
365367
...this.#pseudoElements.get(Protocol.DOM.PseudoType.ViewTransitionOld) || [],
366368
...this.#pseudoElements.get(Protocol.DOM.PseudoType.ViewTransitionNew) || [],

0 commit comments

Comments
 (0)