Open Bug 1886049 Opened 2 years ago

`WSRunScanner` should check whether inline editing host is next to block boundaries

Categories

(Core :: DOM: Editor, defect)

defect

Tracking

()

ASSIGNED

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Currently, the editing hosts of <div>abc<span contenteditable>def<br></span>ghi</div> and <div><span contenteditable>abc<br></span></div> are treated as same layout by WSRunScanner. However, first one should be treated as not in a block, but the latter one should be treated as in a block. So, the <br> in the first one should be treated as visible, but the latter one's should be treated as invisible.

You need to log in before you can comment on or make changes to this bug.