summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/map-update-crash.html
blob: 5787de8059ff9bf5eea44435750462886617bcff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!doctype HTML>
<style>
    article::after {
         content: url(data:text/plain,test);}
</style>
This test passes if it does not crash.
<img  usemap="#map2">
<map id=map name="map2">
    <command id=command>
        <article id=article></article>
    </command>
</map>
<script>
command.appendChild(article);
requestAnimationFrame(() => requestAnimationFrame(() => {
    map.style.content = "none";
}));
</script>