gecko-dev/editor
Masayuki Nakano db70f10b72 Bug 1803044 - part 9: Make the style editor use existing inline element in the CSS mode as far as possible r=m_kato
The other browsers use any inline elements to set CSS property for applying
an inline style.  However, Gecko limits it to a `<span>` which does not have
any attributes.  The other browsers' design is better for saving number of
elements and runtime cost of inserting new element (moving all children to the
new element and inserting it to the original position).  Therefore, it's nicer
to follow the other browses.  Then, we can avoid new WPT failures at aligning
other behaviors to the other browsers.

With doing that, removing style code requires complicated changes because
`RemoveStyleInside` assumes that one element has one style, but after taking
the compatible behavior, one element can have multiple styles including the
style represented by the element itself.

Note that the new expected failures are caused by bug 1183844. Gecko returns
closest ancestor element's background color for
`queryCommandValue("backColor")`.  Therefore, it returns "transparent" of the
inner `<span>` element.

Differential Revision: https://phabricator.services.mozilla.com/D164004
2022-12-13 03:37:38 +00:00
..
composer Bug 1797840: Replace stray tab characters with spaces in IDL files throughout the tree. r=mccr8,necko-reviewers,credential-management-reviewers,smaug,sgalich,valentin 2022-10-28 18:08:17 +00:00
docs Bug 1800829 - part 4: Get rid of plugin handling documentaion due to removed in bug 1683226 r=m_kato DONTBUILD 2022-11-28 03:03:54 +00:00
libeditor Bug 1803044 - part 9: Make the style editor use existing inline element in the CSS mode as far as possible r=m_kato 2022-12-13 03:37:38 +00:00
reftests Bug 1788321, wait for idle time before trying to paint the -ref page, r=dminor 2022-10-24 11:25:24 +00:00
spellchecker Bug 1795322 - Update toolkit modules references in remaining places. r=mossop,zeid,geckoview-reviewers,calu 2022-10-26 08:06:37 +00:00
txmgr Bug 1794811, part 1 - Include nsISupports.h instead of nsISupportsBase.h. r=necko-reviewers,nika,valentin 2022-10-17 16:09:22 +00:00
AsyncSpellCheckTestHelper.jsm Bug 1803914 - Automatically replace Cu.reportError with console.error (misc). r=mossop 2022-12-06 14:34:57 +00:00
moz.build
nsIDocumentStateListener.idl
nsIEditActionListener.idl
nsIEditor.idl Bug 1768315 - Get rid of nsIEditor.transactionManager due to unused r=m_kato 2022-10-27 22:50:07 +00:00
nsIEditorMailSupport.idl
nsIEditorSpellCheck.idl
nsIHTMLAbsPosEditor.idl
nsIHTMLEditor.idl
nsIHTMLInlineTableEditor.idl
nsIHTMLObjectResizer.idl
nsITableEditor.idl