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/masonry/tentative/row-empty-masonry-container-002.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<link rel="match" href="column-empty-masonry-container-002-ref.html">
<link rel="author" title="Alison Maher" href="mailto:almaher@microsoft.com">
<style>
.masonry {
display: masonry;
masonry-direction: row;
background: gray;
position: relative;
item-tolerance: 0;
padding: 20px;
}
</style>
<body>
<p>Test that an empty masonry container still renders padding.</p>
<div class="masonry"></div>
</body>
</html>