> * Add new command "enableAbsolutePositionEditing" command for allowing to enable #4
There is no way to use absolute position editing on Firefox because cmd_abspos is used by comm-central only. So I guess that it might be unnecessary to add this command for Firefox and is better to add a preference to enable it as default. -- Makoto On Thu, Apr 5, 2018 at 3:58 PM, Masayuki Nakano <masay...@d-toybox.com> wrote: > This incompatibility is pointed by W3C's Editing API WG: > https://github.com/w3c/editing/issues/171 > > Gecko has some specific editing UI of HTML editor. > 1. Resiziers of <img>, <table>, absolute positioned elements. > 2. Adding new table row/column from buttons. > 3. Removing existing table row/column from buttons. > 4. Grabber to move absolute positioned element. > > Currently, all of those UIs are not implemented by the other browsers. > However, they are available in Gecko by default. > > Therefore, web app developers need to disable those features with: > document.execCommand("enableObjectResizing", > false, false); // #1 > document.execCommand("enableInlineTableEditing", > false, false); // #2 and #3 > > So, if web apps don't call them, only Firefox users can modify <img> or > <table> elements as unexpected for their developers. > > Additionally, web apps cannot disable only #4. > > So, for solving this incompatibility issue, we should: > * Disable those UI by default > * But allow to enable those UI for backward compatibility > * Add new command "enableAbsolutePositionEditing" command for allowing to > enable #4 > > I'm working on this incompatibility issue in: > https://bugzilla.mozilla.org/show_bug.cgi?id=1449564 > > -- > Masayuki Nakano <masay...@d-toybox.com> > Software Engineer, Mozilla > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform