-
- Downloads
Bug 1785801 - Make `RangeUpdater::SelAdjJoinNodes` take the ex-offset of right...
Bug 1785801 - Make `RangeUpdater::SelAdjJoinNodes` take the ex-offset of right node. r=m_kato, a=RyanVM In bug 1739524, I misunderstood the meaning of `aOffset` of `SelAdjJoinNodes`. After joining 2 nodes, and a point points right node which will have ex-left node content, the point needs to point ex-start of the right node to keep next insertion point as-is. Therefore, it's not useful with new join nodes direction, it needs to know the ex-offset of the right node. Differential Revision: https://phabricator.services.mozilla.com/D155438
Showing
- editor/libeditor/HTMLEditor.cpp 4 additions, 4 deletionseditor/libeditor/HTMLEditor.cpp
- editor/libeditor/SelectionState.cpp 7 additions, 7 deletionseditor/libeditor/SelectionState.cpp
- editor/libeditor/SelectionState.h 3 additions, 3 deletionseditor/libeditor/SelectionState.h
- testing/web-platform/tests/editing/data/inserttext.js 6 additions, 0 deletionstesting/web-platform/tests/editing/data/inserttext.js
Loading
Please register or sign in to comment