Skip to content

Conversation

@moz-wptsync-bot
Copy link
Collaborator

The caret should be put before the last line break in a block if there
is no visible content between the line break and the end block boundary.

Additionally,
WhiteSpaceVisibilityKeeper::DeleteContentNodeAndJoinTextNodesAroundIt()
should delete the preceding block's invisible <br> too.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2005895
gecko-commit: 8cb2cca1db5ad41200028ec41d8e7a87eee58e82
gecko-reviewers: m_kato

…urn point after a line break before a block boundary

The caret should be put before the last line break in a block if there
is no visible content between the line break and the end block boundary.

Additionally,
`WhiteSpaceVisibilityKeeper::DeleteContentNodeAndJoinTextNodesAroundIt()`
should delete the preceding block's invisible `<br>` too.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2005895
gecko-commit: 8cb2cca1db5ad41200028ec41d8e7a87eee58e82
gecko-reviewers: m_kato
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants