test(behavior): SDT inside-edge backspace/delete parity (SD-3237/SD-3218)#3556
Merged
Conversation
…SD-3218) Closes the inside-edge half of the boundary keyboard matrix (the outside-edge half landed in #3552/#3554). Consumes the word-api contracts inline-backspace-inside-trailing and inline-delete-inside-leading. Editable modes (unlocked, sdtLocked) delete one character per press from the respective edge, wrapper preserved; content-locked modes (contentLocked, sdtContentLocked) are blocked with content unchanged. All four lock modes exercised per scenario. No divergence here - SuperDoc matches Word. No raw Word data committed.
…three The contracts are step-based; assert content length original-i and wrapper preserved after each press rather than only the final state.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the inside-edge half of the inline boundary keyboard matrix. The outside-edge half (select-then-delete) landed in #3552/#3554; this covers editing from inside the control edge, which Word treats very differently.
Consumes two word-api parity contracts:
sdt/inline-backspace-inside-trailingandsdt/inline-delete-inside-leading.All four lock modes exercised per scenario. Unlike the outside-edge tests there is no divergence here - SuperDoc matches Word, so no
test.failcases. Branches offmain, not stacked. No raw Word data committed.Verified: 24 passed across chromium, firefox, webkit.