Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>Overflow still allows contenteditable elements to have height</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.org">
<link rel="match" href="contenteditable-overflow-height-ref.html">
<style>
[contenteditable] {
outline: 1px solid black;
outline-offset: -1px;
overflow: hidden;
}
</style>
<div contenteditable></div>