Stabilize transition testcase.

Roughly 1% of the times transitions/svg-visited-link-transitions.html
runs it will set the "active" class before a previous layout. When that
happens there won't be any style to animate so the elements reach the
final step immediately.

Fixed by forcing a layout pass before setting the "active" style.

BUG=450497

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

git-svn-id: svn://svn.chromium.org/blink/trunk@189106 bbb929c8-8fbe-4397-9dbb-9b2b20218538
1 file changed
tree: 669aadb1cbf2b0f7f7c96f3e03e406789b802f4a
  1. third_party/