Files
tubestation/editor
Masayuki Nakano 9253bce1c4 Bug 1955146 - Make WhiteSpaceVisibilityKeeper::MergeFirstLineOfRightBlockElementIntoAncestorLeftBlockElement ignore empty Text nodes when scanning first character of the right block r=m_kato
Although, the empty text should've been removed, but it may happen without the
normalization.  Therefore, the lambda should keep scanning the first visible
char with ignoring empty `Text` nodes.

Additionally, there are similar methods which have the same lambda.  Therefore,
this fixes them too.

I think we should make the scanner method take an option parameter to ignore
empty `Text` in a follow up bug.

Differential Revision: https://phabricator.services.mozilla.com/D242264
2025-03-21 12:51:03 +00:00
..