gecko-dev/editor/libeditor
Boris Chiou 3830098b51 Bug 1625970 - Compare isSet flags between first value and others for text-decoration related HTML properties. r=masayuki
underline and strike use `text-decoration` property, which is a
shorthand and may include other longhand property values, e.g.
`text-decoration-color`. In order to set `aAll` flag correctly, we
should not just compare the computed values between `firstValue` and
`theValue`. This patch makes the HTMLStyleEditor more independent of
the serializations of the computed values on text-decoration.

If https://github.com/w3c/editing/issues/241 is accepted, we can just
replace `text-decoration` with `text-decoration-line` and drop this
patch.

Differential Revision: https://phabricator.services.mozilla.com/D69619

--HG--
extra : moz-landing-system : lando
2020-04-04 09:29:08 +00:00
..
crashtests Bug 1624011 - Make constructor of `AlignStateAtSelection` not assert when there is no selection ranges r=m_kato 2020-04-01 06:38:16 +00:00
tests Bug 1496320 - part 1: Make `TypeInState` clear "link style" when it detects caret coming from outside of current link r=m_kato 2020-04-06 03:52:53 +00:00
CSSEditUtils.cpp Bug 1619914 - part 1: Make each transaction class grab their members with local variable before touching the DOM tree r=m_kato 2020-04-03 08:30:37 +00:00
CSSEditUtils.h Bug 1620504 - part 23: Fix some inconsistent coding style in editor r=m_kato 2020-03-22 10:46:39 +00:00
ChangeAttributeTransaction.cpp Bug 1619914 - part 1: Make each transaction class grab their members with local variable before touching the DOM tree r=m_kato 2020-04-03 08:30:37 +00:00
ChangeAttributeTransaction.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
ChangeStyleTransaction.cpp Bug 1619914 - part 1: Make each transaction class grab their members with local variable before touching the DOM tree r=m_kato 2020-04-03 08:30:37 +00:00
ChangeStyleTransaction.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
CompositionTransaction.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
CompositionTransaction.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
CreateElementTransaction.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
CreateElementTransaction.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
DeleteNodeTransaction.cpp Bug 1619914 - part 1: Make each transaction class grab their members with local variable before touching the DOM tree r=m_kato 2020-04-03 08:30:37 +00:00
DeleteNodeTransaction.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
DeleteRangeTransaction.cpp Bug 1619914 - part 1: Make each transaction class grab their members with local variable before touching the DOM tree r=m_kato 2020-04-03 08:30:37 +00:00
DeleteRangeTransaction.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
DeleteTextTransaction.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
DeleteTextTransaction.h
EditAction.h Bug 1611751 - Remove unused scriptable methods of `nsIHTMLEditor`, `nsIEditorStyleSheets` and `nsITableEditor` r=m_kato 2020-01-30 08:50:41 +00:00
EditActionListener.h
EditAggregateTransaction.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
EditAggregateTransaction.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
EditTransactionBase.cpp Bug 1620504 - part 23: Fix some inconsistent coding style in editor r=m_kato 2020-03-22 10:46:39 +00:00
EditTransactionBase.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
EditorBase.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
EditorBase.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
EditorCommands.cpp Bug 1620504 - part 11: Clean up warnings in editor command classes r=m_kato 2020-03-10 04:34:15 +00:00
EditorCommands.h Bug 1620504 - part 11: Clean up warnings in editor command classes r=m_kato 2020-03-10 04:34:15 +00:00
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1496320 - part 1: Make `TypeInState` clear "link style" when it detects caret coming from outside of current link r=m_kato 2020-04-06 03:52:53 +00:00
EditorEventListener.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
EditorEventListener.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
EditorUtils.cpp Bug 1588688 - part 8: Make `HTMLEditor::DoInsertHTMLWithContext()` and its helper methods use array of `nsIContent` rather than `nsINode` r=m_kato 2020-02-14 07:16:27 +00:00
EditorUtils.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
HTMLAbsPositionEditor.cpp Bug 1620504 - part 22-2: Clean up warnings in HTMLAbsPositionEditor.cpp r=m_kato 2020-03-18 06:06:22 +00:00
HTMLAnonymousNodeEditor.cpp Bug 1620504 - part 22-3: Clean up warnings in HTMLAnonymousNodeEditor.cpp r=m_kato 2020-03-18 12:43:40 +00:00
HTMLEditSubActionHandler.cpp Bug 1624011 - Make constructor of `AlignStateAtSelection` not assert when there is no selection ranges r=m_kato 2020-04-01 06:38:16 +00:00
HTMLEditUtils.cpp
HTMLEditUtils.h Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ 2020-03-19 13:18:16 +00:00
HTMLEditor.cpp Bug 1496320 - part 1: Make `TypeInState` clear "link style" when it detects caret coming from outside of current link r=m_kato 2020-04-06 03:52:53 +00:00
HTMLEditor.h Bug 1625834 - Replace MOZ_MUST_USE with [[nodiscard]] in editor. r=masayuki 2020-04-02 05:43:31 +00:00
HTMLEditorCommands.cpp Bug 1624011 - Make constructor of `AlignStateAtSelection` not assert when there is no selection ranges r=m_kato 2020-04-01 06:38:16 +00:00
HTMLEditorController.cpp
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1625755 - Make `HTMLEditor::DoInsertHTMLWithContext()` check whether inserted content stays at expected point before modifying next insertion point r=m_kato 2020-04-02 14:03:14 +00:00
HTMLEditorDocumentCommands.cpp Bug 1620504 - part 11: Clean up warnings in editor command classes r=m_kato 2020-03-10 04:34:15 +00:00
HTMLEditorEventListener.cpp Bug 1620504 - part 12: Clean up warnings in EditorEventListener r=m_kato 2020-03-10 07:54:29 +00:00
HTMLEditorEventListener.h Bug 1620504 - part 12: Clean up warnings in EditorEventListener r=m_kato 2020-03-10 07:54:29 +00:00
HTMLEditorObjectResizer.cpp Bug 1620504 - part 22-6: Clean up warnings in HTMLEditorObjectResizer.cpp r=m_kato 2020-03-19 11:38:42 +00:00
HTMLInlineTableEditor.cpp Bug 1620504 - part 22-7: Clean up warnings in HTMLInlineTableEditor.cpp r=m_kato 2020-03-19 12:29:51 +00:00
HTMLStyleEditor.cpp Bug 1625970 - Compare isSet flags between first value and others for text-decoration related HTML properties. r=masayuki 2020-04-04 09:29:08 +00:00
HTMLTableEditor.cpp Bug 1620504 - part 23: Fix some inconsistent coding style in editor r=m_kato 2020-03-22 10:46:39 +00:00
InsertNodeTransaction.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
InsertNodeTransaction.h Bug 1620135 - Clean up trivial constructor and destructor under libeditor r=m_kato 2020-03-06 04:38:25 +00:00
InsertTextTransaction.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
InsertTextTransaction.h Bug 1620135 - Clean up trivial constructor and destructor under libeditor r=m_kato 2020-03-06 04:38:25 +00:00
InternetCiter.cpp
InternetCiter.h
JoinNodeTransaction.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
JoinNodeTransaction.h Bug 1619914 - part 1: Make each transaction class grab their members with local variable before touching the DOM tree r=m_kato 2020-04-03 08:30:37 +00:00
ManualNAC.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in editor. r=masayuki 2020-03-04 09:10:03 +00:00
PlaceholderTransaction.cpp Bug 1620504 - part 20: Clean up warnings in SelectionState and related classes r=m_kato 2020-03-16 09:57:58 +00:00
PlaceholderTransaction.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
SelectionState.cpp Bug 1620504 - part 20: Clean up warnings in SelectionState and related classes r=m_kato 2020-03-16 09:57:58 +00:00
SelectionState.h Bug 1620504 - part 20: Clean up warnings in SelectionState and related classes r=m_kato 2020-03-16 09:57:58 +00:00
SplitNodeTransaction.cpp Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
SplitNodeTransaction.h Bug 1619914 - part 2: Mark transaction class methods and their caller methods as `MOZ_CAN_RUN_SCRIPT r=m_kato 2020-04-03 08:32:01 +00:00
TextEditSubActionHandler.cpp Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ 2020-03-19 13:18:16 +00:00
TextEditor.cpp Bug 253870 - Make disabled form controls selectable. r=masayuki,MarcoZ 2020-03-19 13:18:16 +00:00
TextEditor.h Bug 1625834 - Replace MOZ_MUST_USE with [[nodiscard]] in editor. r=masayuki 2020-04-02 05:43:31 +00:00
TextEditorDataTransfer.cpp Bug 1620504 - part 21: Clean up warnings in TextEditor r=m_kato 2020-03-18 01:14:42 +00:00
TypeInState.cpp Bug 1496320 - part 1: Make `TypeInState` clear "link style" when it detects caret coming from outside of current link r=m_kato 2020-04-06 03:52:53 +00:00
TypeInState.h Bug 1496320 - part 1: Make `TypeInState` clear "link style" when it detects caret coming from outside of current link r=m_kato 2020-04-06 03:52:53 +00:00
WSRunObject.cpp Bug 1625633 - part 4: Move `WSType` into `WSRunScanner` to hide it from `HTMLEditor` r=m_kato 2020-03-31 15:46:56 +00:00
WSRunObject.h Bug 1625834 - Replace MOZ_MUST_USE with [[nodiscard]] in editor. r=masayuki 2020-04-02 05:43:31 +00:00
moz.build
nsIAbsorbingTransaction.h Bug 1620504 - part 17: Clean up warnings in PlaceholderTransaction r=m_kato 2020-03-11 02:11:52 +00:00