src/js/animations/ViewTransition.js
// TODO: accept node to traverse upwards from.
accept node to traverse upwards from.
accept node to traverse upwards from .
findOrigin(e) {
		var node = e.target
		while (node !== null) {
			if (node.hasAttribute('transition-origin')) return node
			node = node.parentElement
		}
	}
findOrigin ( e ) { var node = e . target while ( node !== null ) { if ( node . hasAttribute ( 'transition-origin' ) ) return node node = node . parentElement } }
TODO: accept node to traverse upwards from.
TODO : accept node to traverse upwards from .