Introduce PositionInComposedTree version of enclosingBlock()
This patch introduces |PositionInComposedTree| version of |enclosingBlock()| by introducing template function |enclosingBlockAlgorithm()|. This patch is a preparation of making selection to handle granularity for web component, http://crrev.com/1277863002 BUG=513568 TEST=webkit_unit_tests --gtest_filter=EditingUtilitiesTest.enclosingBlock Review URL: https://codereview.chromium.org/1310073006 git-svn-id: svn://svn.chromium.org/blink/trunk@201303 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment