DescriptionBug fix: toPositionInComposedTree should treat positions with shadow roots
A PositionInComposedTree's anchor should not be a shadow root because
there should not be shadow roots in the composed tree world (similar to
crrev.com/1205023003). This CL fixes toPositionInComposedTree for a case
when a given position's anchor is a shadow root.
BUG=n/a
TEST=webkit_unit_tests --gtest_filter=PositionTest.*
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197815
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 9 (4 generated)
|
||||||||||||||||||||||||||||