You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yup, I noted in the discussion in #233 this was the intended behavior but I wasn't sure how to spec it correctly.
I think we want to preserve this behavior - e.g. an author changing the indentation level of an element (maybe because they added/removed an ancestor element) would break any links into that text (since the leading whitespace will change).
The find a range from a node list steps, which is the place in the spec where the actual string search is performed, uses the CharacterData of each node.
CharacterData is the raw data provided in the markup, e.g.:
Will include all 10 spaces in CharacterData, even though they're collapsed into a single space when rendered.
The spec needs to specify exactly how we perform this collapsing.
The text was updated successfully, but these errors were encountered: