Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /editing/crashtests/execCommand-fontsize-when-size-attr-invalid.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body><font id="font1">
<script>
function run() {
document.designMode = "on";
font1.size = null;
document.execCommand("selectAll");
document.execCommand("createLink", false, "test1");
document.execCommand("fontSize", false, "1");
}
run();
</script></font></body>
</html>