editor/libeditor/HTMLEditUtils.cpp
05d338fecf52e15beb4e30f113910cb50f648cb8
created 2021-10-12 05:05 +0000
pushed 2021-10-12 21:40 +0000
Masayuki Nakano Masayuki Nakano - Bug 1729170 - Make all methods of `nsTextFragment` take `uint32_t` for the offset and length of text r=smaug
b8e8fed16b1ee4b5f90918553e7ff834b7f591a2
created 2021-09-11 07:17 +0000
pushed 2021-09-11 21:22 +0000
Masayuki Nakano Masayuki Nakano - Bug 1672900 - part 3: Make `ExtendOrShrinkRangeToDelete()` selects all contents in all list items if a list element is selected or all list items in a list element is selected 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
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
0d218ad033af39cd55b424e238dfdeaf99c8ac24
created 2021-09-07 07:24 +0000
pushed 2021-09-07 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1729111 - part 2: Split scanning following content part of `HTMLEditUtils::IsVisibleBRElement()` 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
2139b35435875e1b58686491a583a2142d9c024d
created 2021-08-23 10:05 +0000
pushed 2021-08-23 15:55 +0000
Masayuki Nakano Masayuki Nakano - Bug 1727008 - `HTMLEditor` shouldn't strip `<html>` element nor `<body>` elements 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
ae248eba41f42fac4488148e12ddf75b9caf5c2a
created 2021-08-20 08:52 +0000
pushed 2021-08-20 21:33 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 8: Make `HTMLEditor::HTMLWithContextInserter::InsertContents()` use `HTMLEditUtils::GetInclusiveAncestorElement()` r=m_kato
ae7ce0245ffbd59a6ce935ad69bff4cf4a018de9
created 2021-08-19 12:40 +0000
pushed 2021-08-19 21:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 4: Make `HTMLEditor::HandleKeyPressEvent()` use `HTMLEditUtils::GetInclusiveAncestorElement()` r=m_kato
ff0e2e535916649812a71bd2294e4b95d568e61d
created 2021-08-19 06:55 +0000
pushed 2021-08-19 21:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1726064 - part 2: Get rid of `HTMLEditUtils::GetInclusiveAncestorBlockElementExceptHRElement` 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
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
a5c77aa7cbc5985c47a862f557afb9e65c58d0a2
created 2021-05-17 08:56 +0000
pushed 2021-05-17 21:26 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 57: Move `HTMLEditor::GetBetterInsertionPointFor()` 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
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
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
a765064201f8d7c8ac27b74cfd5d9f1ec1212ce1
created 2021-04-27 11:17 +0000
pushed 2021-04-27 15:52 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 38: Move `EditorBase::GetNextContent()` and `EditorBase::GetPreviousContent()` to `HTMLEditUtils` r=m_kato
92667a7f0447921fee74fda6e45b22d074eb271e
created 2021-04-20 12:02 +0000
pushed 2021-04-20 21:39 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 23: Move `HTMLEditor::IsEmptyNode()` into `HTMLEditUtils` with making it take `EnumSet` instead of `bool` arguments r=m_kato
68551101467a7068f30db2df368fe0fea0b671a9
created 2021-04-20 00:41 +0000
pushed 2021-04-20 09:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 21: Move `HTMLEditor::IsInVisibleTextFrames()` to `HTMLEditUtils` r=m_kato
d28de60718cdea090d75cd19bfc3d0c5ae23d99f
created 2021-04-20 00:41 +0000
pushed 2021-04-20 09:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 20: Move `HTMLEditor::IsEmptyTextNode()` to `HTMLEditUtils` r=m_kato
cd21cae59bec52c10657458e3c7944ff9a6400dd
created 2021-03-02 00:51 +0000
pushed 2021-03-03 04:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1517028 - Make `HTMLEditor::SplitNodeDeepWithTransaction` not try to split non-splittable node and `HTMLEditor::HandleInsertParagraphInHeadingElement` check its result r=m_kato
fed78f7745b7a6134ba30f043b4c372297555510
created 2020-09-24 17:10 +0000
pushed 2020-09-25 15:57 +0000
Mirko Brodesser Mirko Brodesser - Bug 1649121: part 95) Update `ElementInfo`'s documentation. r=m_kato
0626d2f60030744fc13590e71e0093154b0b50d9
created 2020-09-01 02:02 +0000
pushed 2020-09-01 09:45 +0000
Masayuki Nakano Masayuki Nakano - Bug 1658702 - part 2: Make `AutoDeleteRangesHandler::ComputeRangesToDelete()` handle the case deleting empty ancestor(s) r=m_kato
c0c0237502da2d05609acc2be5e9e3ee95437f57
created 2020-08-31 13:29 +0300
pushed 2020-08-31 21:52 +0000
Mihai Alexandru Michis Mihai Alexandru Michis - Backed out changeset bacd9a2d26c1 (bug 1658702) for causing hazard bustages in HTMLEditSubActionHandler.cpp
bacd9a2d26c1ad28a926e484c58022ac06a24c6e
created 2020-08-31 08:33 +0000
pushed 2020-08-31 21:52 +0000
Masayuki Nakano Masayuki Nakano - Bug 1658702 - part 2: Make `AutoDeleteRangesHandler::ComputeRangesToDelete()` handle the case deleting empty ancestor(s) r=m_kato
d1a42f86dd6125fe9dd6a3e56e5b13972821391c
created 2020-08-26 05:29 +0000
pushed 2020-08-26 15:40 +0000
Masayuki Nakano Masayuki Nakano - Bug 1660378 - part 9: Avoid QI for getting `nsStyledElement` pointer r=smaug
c4e47e9e0e38f80d2254014adfbb19c553c69afe
created 2020-08-26 04:48 +0000
pushed 2020-08-26 15:40 +0000
Masayuki Nakano Masayuki Nakano - Bug 1660378 - part 4: Make `CSSEditUtils::DoElementsHaveSameStyle()` take `nsStyledElement&` instead of `Element&` r=m_kato
d418b81621a9f43fb6225d7b77ccf1932c1bfcee
created 2020-07-27 23:58 +0000
pushed 2020-07-28 09:47 +0000
Masayuki Nakano Masayuki Nakano - Bug 1653534 - part 4: Make `TextFragmentData` set its `mIsPreformatted` more carefully r=m_kato
4a06b8e95f27670583ca4df5168b8aa3a01b7ec6
created 2020-07-10 12:38 +0000
pushed 2020-07-10 16:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1649980 - part 2: Move `WSRunScanner::GetEditableBlockParentOrTopmotEditableInlineContent()` to `HTMLEditUtils` r=m_kato
660c40fe1d390b44d43f36c083b581e8b21757dc
created 2020-07-03 09:26 +0000
pushed 2020-07-03 21:50 +0000
Mirko Brodesser Mirko Brodesser - Bug 1649121: part 11) Factor some functionality of `GetMostAncestorListOrTableElement` out. r=masayuki
3f8100fb74318f9e0b3b6351ade737994d13bcf8
created 2020-07-01 08:29 +0000
pushed 2020-07-01 21:32 +0000
Simon Giesecke Simon Giesecke - Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
a50105f79fb056f6914dbcde69d29aeed6055584
created 2020-06-30 13:12 +0000
pushed 2020-06-30 21:45 +0000
Mirko Brodesser Mirko Brodesser - Bug 1649121: part 7) Rename `HTMLEditUtils::IsList` to `HTMLEditUtils::IsAnyListElement`. r=masayuki
14fe3fb99221f7e92f5960d3108365e6b04bd29b
created 2020-06-30 13:12 +0000
pushed 2020-06-30 21:45 +0000
Mirko Brodesser Mirko Brodesser - Bug 1649121: part 6) Rename `HTMLEditUtils::IsTableElementButNotTable` to `HTMLEditUtils::IsAnyTableElementButNotTable`. r=masayuki
7cb690c8d2084bfc03599341a10895b5bd0c7f52
created 2020-06-30 13:12 +0000
pushed 2020-06-30 21:45 +0000
Mirko Brodesser Mirko Brodesser - Bug 1649121: part 4) Rename `HTMLEditUtils::IsTableElement` to `HTMLEditUtils::IsAnyTableElement`. r=masayuki
2a1cceae6e2b614b4c9d3206fcecc9f11b137a04
created 2020-06-10 13:44 +0000
pushed 2020-06-15 16:30 +0000
Masayuki Nakano Masayuki Nakano - Bug 1642594 - part 4: Stop using "whitespace" in under libeditor r=m_kato
f1c0352bceab21036ec4dc693b5a444a7a86235b
created 2020-04-27 03:36 +0000
pushed 2020-04-27 21:46 +0000
Botond Ballo Botond Ballo - Bug 1633014 - Fix non-unified build errors in editor/. r=m_kato
6119e9d5fce84f307354d3ed9a3aaf8eca8977de
created 2020-04-16 10:32 +0000
pushed 2020-04-17 09:38 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 8: Move `EditorBase::IsContainer()` to `HTMLEditUtils` r=m_kato
774483b023a6a33a3d6ad69bc52ef8ecb6f3b0b8
created 2020-04-16 04:38 +0000
pushed 2020-04-16 21:43 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 6: Move "can contain" utility methods to `HTMLEditUtils` r=m_kato
61750ef7b6814362bc77eb2604688ba1e7e65f02
created 2020-04-15 15:55 +0000
pushed 2020-04-16 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 3: Move `EditorBase::AreNodesSameType()` to `HTMLEditUtils` r=m_kato
3b1b033a7cc072d7294b70b91bc7c126b38a9e2e
created 2020-04-15 13:55 +0000
pushed 2020-04-16 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 1: Move `HTMLEditor::IsBlockNode()` into `HTMLEditUtils` r=m_kato
71cfe2c9fc79e46e8fe0c360839ca2a5b595c696
created 2019-09-18 12:37 +0000
pushed 2019-09-19 03:58 +0000
Masayuki Nakano Masayuki Nakano - Bug 1581034 - part 2: Get rid of `TextEditUtils::IsBreak()` and `TextEditUtils` itself r=m_kato
d3d34552e75d90bcb9b47acafd46dc986f7aa866
created 2019-08-02 05:45 +0000
pushed 2019-08-02 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1569902 - part 2: Stop using attribute to consider whether a `<br>` element is a special node for empty last line or not r=m_kato,smaug
381a74484140c4183bc8d3b094848a95214795ed
created 2019-06-13 08:58 +0000
pushed 2019-06-13 21:50 +0000
Jonathan Kingston Jonathan Kingston - Bug 1315460 - Removal of keygen element r=keeler,baku,jld,hsivonen
fb6392410d8cbc2296c1810ee6105311d9e270cc
created 2019-04-12 01:17 +0000
pushed 2019-04-12 09:34 +0000
Masayuki Nakano Masayuki Nakano - Bug 1539110 - Make HTMLEditor::RemoveStyleInside() and HTMLEditor::SplitStyleAbovePoint() check tag names with whitelist r=m_kato
5f4630838d46dd81dadb13220a4af0da9e23a619
created 2019-01-18 10:16 +0100
pushed 2019-01-19 09:59 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-11-30 11:01 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
95bd81205750f7a29770060e5cc939dcd71341f5
created 2018-11-12 08:13 +0000
pushed 2018-11-12 17:18 +0000
Masayuki Nakano Masayuki Nakano - Bug 1505679 - Make HTMLEditor::RemoveList() sets specific EditAction when it's called by execCommand("insertorderedlist") or execCommand("insertunorderedlist") r=m_kato
986f21f1f5d5757812f6956aa9b8722c6a043842
created 2018-10-30 10:00 +0000
pushed 2018-10-30 22:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1465702 - part 4: Make public methods of HTMLEditor create AutoEditActionDataSetter if necessary r=m_kato
7c12d4b98d22680629d0d1c71a14847d4b0d70e6
created 2018-05-24 13:18 -0400
pushed 2018-05-25 00:02 +0000
Boris Zbarsky Boris Zbarsky - Bug 1463981 part 3. Remove nsIDOMNode usage in editor. r=masayuki
41c8fafb84fb10f90ae6be5e7b1493b3fc8bbcdf
created 2018-05-08 22:21 -0700
pushed 2018-05-09 17:28 +0000
Chris Peterson Chris Peterson - Bug 1457813 - Part 3: Remove NS_PRECONDITION definition. r=froydnj
5b74b76204d2e1a0b23bc816b57373a6df79f407
created 2018-05-08 14:49 +0300
pushed 2018-05-08 15:48 +0000
Dorel Luca Dorel Luca - Backed out changeset b57df5aa1534 (bug 1457813) for conflict after bug 833098 got backed out. CLOSED TREE
b57df5aa1534d12fb3be2957649654694d3becc5
created 2018-04-27 21:42 -0700
pushed 2018-05-08 15:48 +0000
Chris Peterson Chris Peterson - Bug 1457813 - Part 3: Remove NS_PRECONDITION definition. r=froydnj
04e9bfc67922d06ba95281cbc2a7ea5f28512365
created 2018-04-27 19:50 +0300
pushed 2018-04-28 17:29 +0000
Cosmin Sabou Cosmin Sabou - Backed out changeset 5e8342edb62d (bug 1454820) mochitest e-10s failures on test_bug386782.html. CLOSED TREE
5e8342edb62d87e2d8a3f2f20a13edc11526581d
created 2018-04-18 00:43 +0100
pushed 2018-04-28 17:29 +0000
Jonathan Kingston Jonathan Kingston - Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
less more (0) -60 tip