/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; const {Task} = require("devtools/shared/task"); const {KeyCodes} = require("devtools/client/shared/keycodes"); const {flashElementOn, flashElementOff} = require("devtools/client/inspector/markup/utils"); const DRAG_DROP_MIN_INITIAL_DISTANCE = 10; /** * The main structure for storing a document node in the markup * tree. Manages creation of the editor for the node and * a