[New Multicolumn] Make computeOffsetFromCompositedAncestor() flowthread-aware.

This function needs to produce the visual offset, and you cannot get that
by calling convertToLayerCoords().

Introducing RenderLayer::visualOffsetFromAncestor() to calculate the
correct visual offset. This also allows for reducing
convertFromFlowThreadToVisualBoundingBoxInAncestor() by a few lines.

We can now add compositing/columns to the virtual/regionbasedmulticol/
testsuite, since both tests there have started to pass.

The fast/multicol/composited-layer-single-fragment.html test is based on work by
andersr@opera.com

The test for hit-testing something 3D-transformed has already been passing
for some time (since https://codereview.chromium.org/625903004), but
actual painting was wrong, until now.

BUG=359877
R=chrishtr@chromium.org

Review URL: https://codereview.chromium.org/799403006

git-svn-id: svn://svn.chromium.org/blink/trunk@187413 bbb929c8-8fbe-4397-9dbb-9b2b20218538
10 files changed
tree: 3cb3e584a0fded27b9d8bca77f947de30394e7e9
  1. third_party/