Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-pseudo/spelling-error-005-crash.html - WPT Dashboard Interop Dashboard
<!doctype html><meta charset="utf-8">
<title>CSS Pseudo-Elements Test: spelling error with unusual root element</title>
<link rel="author" name="Delan Azabani" href="mailto:dazabani@igalia.com">
<meta name="assert" value="Checks that spelling errors in an SVG document will not cause a crash, even if this means there are no longer any default UA styles.">
<!-- TODO force spelling error without relying on UA under test having English spellchecking https://github.com/web-platform-tests/wpt/issues/30863 -->
<body contenteditable spellcheck lang="en"><svg><text y="42">quikc</text></svg>
<script>
document.body.focus();
</script>