DescriptionRenderFlexibleBox should be treated as a candidate for visible position.
Visible selection in an editable area is recalculated whenever an inner value of div is changed.
If the inner value is empty, the visible selection recalculated with DeleteSelectionCommand::m_endingPostion
is not correct. Because RenderBlockFlow is only considered but not RenderFlexibleBox in Position::isCandidate
so that a calculated ending VisiblePosition for an editable div having ‘display : flex’ goes weird
and VisibleSelection is empty accordingly.
BUG=450617
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189482
Patch Set 1 #
Total comments: 2
Messages
Total messages: 20 (7 generated)
|