<!DOCTYPE html>
<link rel="help" href="https://crbug.com/981602">
<link rel="author" href="mailto:kojii@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
.class6 { writing-mode: vertical-rl; }
</style>
<svg>
<radialGradient id="svgvar00004">
<pattern>
<foreignObject>
<pre class="class6">
<svg>
<polyline fill="url(#svgvar00004) red">
</svg>
<script>test(() => {});</script>
