blob: 10e8d0f2439aeedb357e88efd5617d632e10197a [file] [log] [blame]
<style>
head, script, span {
display: block;
}
head {
-webkit-user-modify: read-write-plaintext-only;
}
script::first-letter {
--font-size-ch: 0;
}
</style>
<script>
// <-- magic whitespace
onload = () => {
document.querySelector('script').appendChild(document.createElement('span'));
document.execCommand('FindString', false, 'a');
document.execCommand('FontSizeDelta', false, '1');
};
if (window.testRunner)
testRunner.dumpAsText();
</script>
<p>The test PASS if it does not CRASH.</p>