We had better show ShadowRoot nodes explicitly in render tree dumps instead of showing #document-fragment. Example: Editing range dump: -EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment affinity:NSSelectionAffinityDownstream stillSelecting:FALSE +EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > #shadow-root to 0 of DIV > #shadow-root affinity:NSSelectionAffinityDownstream stillSelecting:FALSE Caret dump: -caret: position 0 of child 0 {DIV} of child 0 {#document-fragment} of child 1 {INPUT} of child 3 {DIV} of body +caret: position 0 of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of child 3 {DIV} of body Selection dump: -selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 0 {#document-fragment} of child 3 {INPUT} of child 1 {P} of body -selection end: position 15 of child 0 {#text} of child 0 {DIV} of child 0 {#document-fragment} of child 3 {INPUT} of child 1 {P} of body +selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {INPUT} of child 1 {P} of body +selection end: position 15 of child 0 {#text} of child 0 {DIV} of {#shadow-root} of child 3 {INPUT} of child 1 {P} of body
Created attachment 89366 [details] Patch
Comment on attachment 89366 [details] Patch ok.
Roland, you might be interested in seeing this.
Comment on attachment 89366 [details] Patch Clearing flags on attachment: 89366 Committed r83796: <http://trac.webkit.org/changeset/83796>
All reviewed patches have been landed. Closing bug.