testing/web-platform/tests/web-animations/animation-model/keyframe-effects/effect-on-marquee-parent-crash.html
author Cosmin Sabou <csabou@mozilla.com>
Sat, 12 Jul 2025 09:18:08 +0300 (4 hours ago)
changeset 796290 5ad1f0c58c82bdfa2f42fed870bbe143465398d0
parent 608913 44582d23ee76ab0b2c7ab02eb0d2728085b9a960
permissions -rw-r--r--
Revert "Bug 1977019 - re-enable hw video decoding testing. r=media-playback-reviewers,jolin" for causing win mda failures on test_hw_video_decoding.html This reverts commit 158474bdc0cf585b701bc47921f0a7d84f7bb84d.
<!DOCTYPE html>
<title>Animating marquee's parent inside display:none</title>
<link rel="help" href="https://drafts.csswg.org/web-animations-1/">
<link rel="help" href="https://crbug.com/1290016">
<div id=container></div>
<script>
  let outer = document.createElement('div');
  outer.style.display = 'none';
  let inner = document.createElement('div');
  let marquee = document.createElement('marquee');

  let effect = new KeyframeEffect(inner, [{'width': '1px'}], 1);
  let anim = new Animation(effect, null);
  anim.pause();

  document.body.append(outer);
  outer.append(inner);
  inner.append(marquee);

  // Don't crash.
</script>