Bug 1921146 - Make `SelectionMovementUtils::GetFrameForNodeOffset` use last frame...
[gecko.git] / editor / nsIHTMLAbsPosEditor.idl
blob3106b6ce0916c1a94f5a6061127c2f4e70e7691f
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsISupports.idl"
7 #include "domstubs.idl"
9 [scriptable, builtinclass, uuid(91375f52-20e6-4757-9835-eb04fabe5498)]
10 interface nsIHTMLAbsPosEditor : nsISupports
12 /**
13 * true if Absolute Positioning handling is enabled in the editor
15 [setter_can_run_script]
16 attribute boolean absolutePositioningEnabled;
18 /**
19 * true if the grabber to drag the absolutly positioned element is visible.
21 [infallible] readonly attribute boolean isAbsolutePositioningActive;
24 /* Utility methods */
26 /**
27 * true if Snap To Grid is enabled in the editor.
29 attribute boolean snapToGridEnabled;
31 /**
32 * sets the grid size in pixels.
33 * @param aSizeInPixels [IN] the size of the grid in pixels
35 attribute unsigned long gridSize;