editor/libeditor/HTMLEditSubActionHandler.cpp
f895a0b6c0e3748e11381173b3cd32a7bb8c60dd
created 2021-09-15 04:13 +0000
pushed 2021-09-15 09:24 +0000
Masayuki Nakano Masayuki Nakano - Bug 1730429 - part 2: Delete empty inline elements which become newly empty but preserve the styles for next editing r=m_kato
a2d4c087b7222581f7d996bf0b4fd7659dc2cbfe
created 2021-09-10 21:45 +0000
pushed 2021-09-11 09:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1720809 - part 2: Make `insertLineBreak` command handler in `HTMLEditor` insert a linefeed character instead of `<br>` element in same condition as Blink/WebKit r=m_kato
dace818f0963c055cfc4e84e12b9fed50401e3cf
created 2021-09-10 21:45 +0000
pushed 2021-09-11 09:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1720809 - part 1: Make `insertParagraphSeparator` command handler in `HTMLEditor` insert a linefeed character instead of `<br>` element in same condition as Blink/WebKit r=m_kato
338e26ff2249b5960c48b42e93dbba067cff149f
created 2021-09-10 04:04 +0000
pushed 2021-09-10 15:46 +0000
Masayuki Nakano Masayuki Nakano - Bug 1724650 - part 7: Make `HTMLEditor` treat preformatted linefeed characters correctly when retrieving a line range r=m_kato
80cb27e1246ad1602d943932742989de6be9f3d3
created 2021-09-10 04:04 +0000
pushed 2021-09-10 15:46 +0000
Masayuki Nakano Masayuki Nakano - Bug 1724650 - part 6: Make white-space normalizers treat `white-space: pre-line` correctly r=m_kato
a98cc0fab376d693cab126d8e41d7bd11c8a0c3b
created 2021-09-10 04:04 +0000
pushed 2021-09-10 15:46 +0000
Masayuki Nakano Masayuki Nakano - Bug 1724650 - part 1: Make `HTMLEditUtils` scans collapsible white-spaces with referring the style r=m_kato
d1e96fb23d43a891d3186d8ac5c8cbfc73ec6306
created 2021-09-07 07:24 +0000
pushed 2021-09-07 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1729111 - part 3: Rewrite `HTMLEditUtils::IsVisibleTextNode()` without `WSRunScanner` r=m_kato
0c79c667c59a344d54f360ffe67b92823790b6e7
created 2021-09-06 22:31 +0000
pushed 2021-09-07 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1727868 - Make `HTMLEditUtils::IsVisibleBRElement()` stop using `WSRunScanner` r=m_kato
f0f37363bbf7cb3a6ba1e441a2949dc5d8af35e7
created 2021-08-31 17:37 +0000
pushed 2021-09-01 03:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1727844 - part 5: Rename some scan result related members in `WSRunObject.h` r=m_kato
11dce090ce943aada134ba77a201ac7de49ea4e3
created 2021-08-31 17:37 +0000
pushed 2021-09-01 03:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1727844 - part 4: Add API to check whether a char is collapsible or not r=m_kato
4be65378de382a1fa8505e5093a8fc5901a2b45f
created 2021-08-31 17:37 +0000
pushed 2021-09-01 03:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1727844 - part 3: Rename `EditorUtils::IsContentPreformatted()` to `IsWhiteSpacePreformatted()` r=m_kato
519503f40573c13002f100a218688bf112462ffb
created 2021-08-27 02:14 +0000
pushed 2021-08-27 09:43 +0000
Masayuki Nakano Masayuki Nakano - Bug 1727479 - Make `WhiteSpaceVisibilityKeeper::PrepareToSplitAcrossBlocks()` adjust split point if it's in non-splittable node r=m_kato
83f3bd0b26e203bedcae8b14ab5995633b4b3275
created 2021-08-25 00:39 +0000
pushed 2021-08-25 09:54 +0000
Masayuki Nakano Masayuki Nakano - Bug 1727185 - Add `MOZ_DIAGNOSTIC_ASSERT` to the constructors of `DeleteNodeTransaction` and `SplitNodeTransaction` and make their users return error before hitting it r=m_kato
571fa8e5ae5150f4207fdcd8089e9de6e98c1198
created 2021-08-23 06:39 +0000
pushed 2021-08-23 15:55 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 21: Make `HTMLEditor::AdjustCaretPositionAndEnsurePaddingBRElement()` use `HTMLEditUtils::Get(Inclusive)AncestorElement()` r=m_kato
54ef3dd91e3dade2ac26a94638027ff9bfc0274b
created 2021-08-23 06:27 +0000
pushed 2021-08-23 15:55 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 20: Make `HTMLEditor::RemoveBlockContainerElements()` use `HTMLEditUtils::GetAncestorElement()` r=m_kato
895581338857272972b6ce34186251e017c3edc2
created 2021-08-23 05:50 +0000
pushed 2021-08-23 09:23 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 19: Make `HTMLEditor::SelectBRElementIfCollapsedInEmptyBlock()` use `HTMLEditUtils::GetInclusiveAncestorElement()` r=m_kato
ede71729f08c792a4b3a4bf74c75b163d62cd71b
created 2021-08-23 05:35 +0000
pushed 2021-08-23 09:23 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 18: Make `HTMLEditor::HandleCSSIndentAtSelectionInternal()` use `HTMLEditUtils::GetInclusiveAncestorElement()` r=m_kato
35c243277dad0426743237811393c556585d106a
created 2021-08-23 05:08 +0000
pushed 2021-08-23 09:23 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 17: Make `HTMLEditor::FormatBlockContainerWithTransaction()` use `HTMLEditUtils::GetInclusiveAncestorElement()` r=m_kato
24080f662446bf803d20549bebadf1665d85dda9
created 2021-08-23 03:11 +0000
pushed 2021-08-23 09:23 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 16: Make `HTMLEditor::InsertParagraphSeparatorAsSubAction()` use `HTMLEditUtils::Get(Inclusive)AncestorElement()` and `HTMLEditUtils::IsSplittableNode()` r=m_kato
61c466d08db1cbcef25947795ed0c07ca04e136a
created 2021-08-22 21:38 +0000
pushed 2021-08-23 09:23 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 15: Make `HTMLEditor::EnsureCaretNotAfterPaddingBRElement()` use `HTMLEditUtils::Get(Inclusive)AncestorElement()` r=m_kato
df2b5e5da3b38b77e346bcbd1b9c31f06e6b2eb2
created 2021-08-19 05:39 +0000
pushed 2021-08-19 21:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 1: Redesign `HTMLEditUtils::ClosestEditableBlockElementOrEditingHost()` with `enum class` r=m_kato
103ec049dcf04bc11e852a6814093f4d9f14ef7e
created 2021-08-17 00:04 +0000
pushed 2021-08-17 09:46 +0000
Masayuki Nakano Masayuki Nakano - Bug 1725291 - part 2: Make `HTMLEditor::OnEndHandlingTopLevelEditSubActionInternal()` guarantee that `WhiteSpaceVisibilityKeeper::NormalizeVisibleWhiteSpacesAt()` is called with editable point r=m_kato
9a4c55524395f5278778f33365a4298b82db6ac7
created 2021-08-02 08:23 +0000
pushed 2021-08-02 15:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1723125 - Ignore normal selection when updating composition string r=m_kato
95aa2712dd58e552427ea8a55f1cd23c1644114b
created 2021-07-12 03:55 +0000
pushed 2021-07-12 09:30 +0000
Masayuki Nakano Masayuki Nakano - Bug 1719387 - Make `HTMLEditor::HandleInsertText()` allow to insert text outside `<body>` in XHTML document r=m_kato
6eb77c24726a2286bf1a0f605742474dd3f3eaa2
created 2021-07-06 04:55 +0000
pushed 2021-07-06 21:42 +0000
Masayuki Nakano Masayuki Nakano - Bug 1716863 - Make `HTMLEditor::HandleInsertText()` climb up the tree when `Selection` is in elements which cannot have text nodes r=m_kato
71670cedaf26214f3bcb8562a445cf1ef24f4db6
created 2021-06-30 07:07 +0000
pushed 2021-06-30 09:36 +0000
Masayuki Nakano Masayuki Nakano - Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato
bdcc0aceff5adbeffc3efa577e9351c850ece2d6
created 2021-06-21 01:49 +0000
pushed 2021-06-21 09:42 +0000
Kagami Sascha Rosylight Kagami Sascha Rosylight - Bug 1716728 - Part 6: Add HTMLEditor::ReflectPaddingBRElementForEmptyEditor() r=masayuki
ccba256fca3607e74685742f40f7a0f7e1e43415
created 2021-06-21 01:49 +0000
pushed 2021-06-21 09:42 +0000
Kagami Sascha Rosylight Kagami Sascha Rosylight - Bug 1716728 - Part 5: Move EnsureNoPaddingBRElementForEmptyEditor to HTMLEditor r=masayuki
4d5892bbb76d59e58e2f932bf85e2e124d929a7e
created 2021-06-21 01:48 +0000
pushed 2021-06-21 09:42 +0000
Kagami Sascha Rosylight Kagami Sascha Rosylight - Bug 1716728 - Part 3: Move MaybeCreatePaddingBRElementForEmptyEditor to HTMLEditor r=masayuki
3c85001a3794d525e621d872c1abc4d4cd1b2af9
created 2021-06-18 20:35 +0000
pushed 2021-06-19 08:35 +0000
Masayuki Nakano Masayuki Nakano - Bug 1716746 - Rename `EditorBase::IsPlaintextEditor()` to `IsInPlaintextMode()` r=m_kato
b2333dfd048ffc767ed769e86ed06c1212ed6578
created 2021-06-17 11:01 -0400
pushed 2021-06-17 21:53 +0000
Ryan VanderMeulen Ryan VanderMeulen - Backed out 7 changesets (bug 1716728) because dependent bugs were backed out.
75bf5a053c5cbcef5486f89a07f72ca07860f32d
created 2021-06-17 06:59 +0000
pushed 2021-06-17 21:53 +0000
Kagami Sascha Rosylight Kagami Sascha Rosylight - Bug 1716728 - Part 6: Add HTMLEditor::ReflectPaddingBRElementForEmptyEditor() r=masayuki
51e9d6b164e6173c9cd7cedb0ace60b969c5c883
created 2021-06-17 06:59 +0000
pushed 2021-06-17 21:53 +0000
Kagami Sascha Rosylight Kagami Sascha Rosylight - Bug 1716728 - Part 5: Move EnsureNoPaddingBRElementForEmptyEditor to HTMLEditor r=masayuki
ccc371872958d09c773086e71d4d7bd51b92575b
created 2021-06-17 06:59 +0000
pushed 2021-06-17 21:53 +0000
Kagami Sascha Rosylight Kagami Sascha Rosylight - Bug 1716728 - Part 3: Move MaybeCreatePaddingBRElementForEmptyEditor to HTMLEditor r=masayuki
6bd68fbcfa90d61451f3a692f413f5b0b14459c4
created 2021-06-11 08:57 +0000
pushed 2021-06-11 21:39 +0000
Masayuki Nakano Masayuki Nakano - Bug 1560396 - Replace `EditorBase::GetNodeAtRangeOffsetPoint()` with new API in `EditorDOMPointBase` r=m_kato
d5f16c8b73411d9f6abf914b9d77415a88613aab
created 2021-06-11 03:01 +0000
pushed 2021-06-11 09:42 +0000
Masayuki Nakano Masayuki Nakano - Bug 1713760 - Make `HTMLEditor` inherit `EditorBase` directly r=m_kato
4173082d84026d5df2b7aa7370058739659c0355
created 2021-06-09 03:47 +0000
pushed 2021-06-09 09:35 +0000
Masayuki Nakano Masayuki Nakano - Bug 1540037 - part 47: Move `TextEditor::InitEditorContentAndSelection()` to `EditorBase` r=m_kato
e72cd321bbaf0723d8f13bbc69278b1853273c62
created 2021-05-18 09:06 +0000
pushed 2021-05-18 21:36 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 68: Move `HTMLEditor::StartOrEndOfSelectionRangesIsIn()` to `AutoRangeArray` r=m_kato
3dd600a5fc900cb9600f0164c0c7e37bf9f5cce9
created 2021-05-18 08:28 +0000
pushed 2021-05-18 21:36 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 67: Move `HTMLEditor::FindNearEditableContent()` to `HTMLEditUtils` r=m_kato
55bb517a4ff57f183823a52bad88822d1499a3e4
created 2021-05-18 06:55 +0000
pushed 2021-05-18 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 66: Move `HTMLEditor::IsTextPropertySetByContent()` to `HTMLEditUtils` r=m_kato
7ecdf33095634893942b379b952e90d1ae8745c8
created 2021-05-18 05:52 +0000
pushed 2021-05-18 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 65: Move `HTMLEditor::GetDeepestEditableOnlyChildDivBlockquoteOrListElement()` to `HTMLEditUtils` r=m_kato
99e716181ac9a7b325741188d1aad6f57d71ef88
created 2021-05-18 05:06 +0000
pushed 2021-05-18 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 64: Get rid of `HTMLEditor::GetWhiteSpaceEndPoint()` r=m_kato
ea32cc59ac32699498e5cd6546a04063ded062ea
created 2021-05-18 02:05 +0000
pushed 2021-05-18 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 63: Get rid of `HTMLEditor::IsNextCharInNodeWhiteSpace()` r=m_kato
6a05527852751ddd4ce377226fe5968663c90bc7
created 2021-05-17 22:25 +0000
pushed 2021-05-18 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 62: Get rid of `HTMLEditor::IsPrevCharInNodeWhiteSpace()` r=m_kato
51c404b61e6c0c770d0cb8bb200398c2eb9bbed9
created 2021-05-17 22:19 +0000
pushed 2021-05-18 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 61: Get rid of `HTMLEditor::NodesInDifferentTableElements()` r=m_kato
8ca3ae12971f9cdda7eb5a28b47213fb5a47ca11
created 2021-05-17 22:12 +0000
pushed 2021-05-18 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 60: Move `HTMLEditor::GetNearestAncestorListItemElement()` to `HTMLEditUtils` r=m_kato
40eb2ea58aa7a20e1037215cc20532ce1ddf72e0
created 2021-05-17 21:58 +0000
pushed 2021-05-18 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 59: Move `HTMLEditor::GetMostAncestorInlineElement()` to `HTMLEditUtils` r=m_kato
734be62c0dbcead1341c4b482cdd007e5c4a83a2
created 2021-05-17 21:50 +0000
pushed 2021-05-18 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 58: Move `HTMLEditor::IsEmptyBlockElement()` to `HTMLEditUtils` r=m_kato
05436a767b5b4369a6e5fcde7f17bd1ea78bcac6
created 2021-05-17 08:44 +0000
pushed 2021-05-17 21:26 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 56: Move `HTMLEditor::GetGoodCaretPointFor()` to `HTMLEditUtils` r=m_kato
31e6ee41cd5ae59988850207252f400e2110538a
created 2021-05-17 08:38 +0000
pushed 2021-05-17 21:26 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 55: Move `HTMLEditor::IsEmptyInlineNode()` and `HTMLEditor::IsEmptyOneHardLine()` to `HTMLEditUtils` r=m_kato
67d0fba3df9255f31d9a8344e8ccf481b87f337d
created 2021-05-17 08:01 +0000
pushed 2021-05-17 21:26 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 53: Rename `HTMLEditUtils::GetFirstLeafChild()` and `HTMLEditUtils::GetLastLeafChild()` r=m_kato
480d25550e0fc216d3f2af4d79273654922034ba
created 2021-05-17 07:42 +0000
pushed 2021-05-17 21:26 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 52: Move `HTMLEditor::IsLastEditableChild()` to `HTMLEditUtils` r=m_kato
4faec743b5f1a507d7fcc2e7c7dfb0fd76d56dc5
created 2021-05-17 07:28 +0000
pushed 2021-05-17 21:26 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 51: Move `HTMLEditor::IsFirstEditableChild()` to `HTMLEditUtils` r=m_kato
5de53d489b7d5613710a40b2c64693dbab31e8ee
created 2021-05-17 07:08 +0000
pushed 2021-05-17 09:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 50: Move `HTMLEditor::GetFirstEditableChild()` to `HTMLEditUtils` r=m_kato
f191e2cc4529396c6a3c08d2a96ecca920848ed8
created 2021-05-17 05:44 +0000
pushed 2021-05-17 09:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 49: Move `HTMLEditor::GetLastEditableChild()` to `HTMLEditUtils` r=m_kato
aa632a8427b06faac105076060e48c8968f8490f
created 2021-05-17 05:25 +0000
pushed 2021-05-17 09:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 47: Move `HTMLEditor::GetNextHTMLSibling()` to `HTMLEditUtils` r=m_kato
c59a870859b2c776d61dee8e09ad66aedad2b120
created 2021-05-17 03:05 +0000
pushed 2021-05-17 09:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 46: Move `HTMLEditor::GetPriorHTMLSibling()` to `HTMLEditUtils` r=m_kato
bc079cb5251401d81b5db323f60ca2d53d4bb0ae
created 2021-05-13 06:46 +0000
pushed 2021-05-13 21:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 44: Add `HTMLEditUtils::IsInvisibleBRElement()` for avoiding a mistake r=m_kato
e027618f6d55b0dfeaee7e71aef753211e2e33ea
created 2021-05-13 06:02 +0000
pushed 2021-05-13 09:33 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 43: Move `HTMLEditor::IsVisibleBRElement()` to `HTMLEditUtils::IsVisibleBRElement()` r=m_kato
ce981753ec94b6b14b35352e945b143dbae78da4
created 2021-04-28 03:33 +0000
pushed 2021-04-28 10:07 +0000
Masayuki Nakano Masayuki Nakano - Bug 1707630 - part 3: Make `EditorBase::CreateNodeWithTransaction()` return error if failed r=m_kato
less more (0) -100 -60 tip