The document transition direction supports the Document Transition and Shared Element Transition projects in Blink. Please see //third_party/blink/renderer/core/document_transition/README.md for more details.