Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /editing/crashtests/enableInlineTableEditing-after-updating-selection-range-cross-shadow-dom-boundary.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
"use strict";
document.addEventListener("DOMContentLoaded", () => {
window.find("A");
const range = document.createRange();
getSelection().addRange(range);
range.setEnd(document.querySelector("template").content, 0);
document.execCommand("enableInlineTableEditing", false, "true");
});
</script>
<body>
<template>
</template>
A
<time contenteditable></time>
</body>
</html>