message: Partially revert and
diff: @@ -95,8 +95,6 @@ function runTestCase(container) {
  // create canvas to draw screenshot
  chart.resize(600, 240, true);
  - window.requestAnimationFrame(() => {
  - window.requestAnimationFrame(() => {
  const screenshot = chart.takeScreenshot();
  screenshot.style.position = 'absolute';
  screenshot.style.top = '260px';
  @@ -106,6 +104,4 @@ function runTestCase(container) {
  const parent = container.parentNode;
  parent.style.backgroundColor = 'yellow';
  parent.appendChild(screenshot);
  - });
  - });
  }
  