Right now, visual overflow and layout overflow are computed together.
However, the former is not used in layout and is only used in compositing, paint invalidation, paint, and hit testing. Furthermore,
visual overflow depends on the self-painting status of PaintLayers,
which can change during the compositing step (in SPv1 mode at least).
Therefore we should refactor visual overflow code to separate the
concepts and move it to compositing.
Comment 1 by kojii@chromium.org
, Oct 5