Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<!DOCTYPE html>
<html>
<head>
<title>CSS Masonry: masonry getComputedStyle()</title>
<link rel="author" title="Yanling Wang" href="mailto:yanlingwang@microsoft.com">
<link rel="help" href="https://drafts.csswg.org/css-grid-3">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
</head>
<body>
<div id="target"></div>
<script>
test_computed_value("masonry", '"a b" 1fr 2fr row normal');
test_computed_value("masonry", "8px column normal");
test_computed_value("masonry", '"a b c" 10% 20% 30% row-reverse', '"a b c" 10% 20% 30% row-reverse normal');
test_computed_value("masonry", '"a b" 10px 20px column-reverse reverse');
test_computed_value("masonry", 'min-content row', 'min-content row normal');
test_computed_value("masonry", 'repeat(5, auto) reverse', 'repeat(5, auto) column reverse');
</script>
</body>
</html>