DescriptionMerge dom node and node unit types.
This eliminates the distinction between node and dom node movement of a cursor.
A "node" is everything other than a inline textbox. A line, word, or character move are now the only units of movement that can move a cursor or range into an inline textbox.
Once constructed, a range passed to output uses the leafDomNode predicate (which matches against both inline textboxes if starting from an inline textbox or against "nodes").
This fixes the $descendants format token which used to collect inline textbox nodes for output. It now visits only static text nodes and other leaf "nodes".
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/cd537786815caff750ec5128e2a994b9d14ab2a5
Cr-Commit-Position: refs/heads/master@{#406596}
Patch Set 1 : m #Patch Set 2 : m #Patch Set 3 : Rebase. #Patch Set 4 : Fix test. #Messages
Total messages: 26 (13 generated)
|