Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-grid/grid-lanes/tentative/row-empty-grid-lanes-container-content-editable-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<link rel="help" href="https://drafts.csswg.org/css-grid-3">
<link rel="match" href="row-empty-grid-lanes-container-content-editable-001-ref.html">
<link rel="author" title="Celeste Pan" href="mailto:celestepan@microsoft.com">
<style>
.empty-container {
display: grid-lanes;
grid-template-rows: auto;
}
</style>
<body>
<p>Test that an empty container that is editable will still have a non-zero block size.</p>
<div class="empty-container" style="background: gray;" contenteditable="true"></div>
<div class="empty-container" style="background: gray;" contenteditable="false"></div>
</body>
</html>