Don't recalculate style synchronously on hover/active.
At the end of Document::updateHoverActiveState, we did a synchronous update
of style and layout. That caused a :hover + onmouseover changing a class to
trigger two style recalcs.
There were no obvious reasons why the callers of that method expected the
recalc + layout to happen either.
R=abarth@chromium.org,esprehn@chromium.org
BUG=361164
Review URL: https://codereview.chromium.org/229413006
git-svn-id: svn://svn.chromium.org/blink/trunk@171147 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed