summaryrefslogtreecommitdiff
path: root/layout/svg/crashtests/877029-1.svg
blob: 1a7bad0f1bd654a2a86d1b4c0fcb17f754cd2637 (plain)
1
2
3
4
5
6
7
8
9
10
<!--
  Check that we don't crash due to an nsSVGMarkerFrame having a null
  mMarkedFrame and incorrectly calling GetCanvasTM() on the nsSVGMarkerFrame.
  -->
<svg xmlns="http://www.w3.org/2000/svg">
  <marker><text>a</text></marker>
  <script>
    document.querySelector("text").getComputedTextLength();
  </script>
</svg>