Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
TextOffsetMapping: skip out-of-flow descendants in InlineContents
`CreateInlineContentsFromBlockFlow` should exclude out-of-flow objects
(floated elements or elements with `position:absolute/fixed`) that are
DOM descendants of `target`, since they do not participate in the inline
formatting context. Consider this case:
<div class="container">
<span style="position: absolute;"></span>
<span><span style="display: block"> </span></span>
</div>
<div contenteditable="true">T|est</div>
When deleting the "T", the SpellChecker is triggered. SpellChecker calls
`PreviousWordPosition`, which could lead to an infinite loop if
out-of-flow elements are included. This patch ensures they are skipped
when computing `InlineContents`.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |