Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 6 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/css-masonry/tentative/parsing/masonry-shorthand-computed.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Masonry: masonry getComputedStyle()</title>
<link rel="author" title="Yanling Wang" href="mailto:yanlingwang@microsoft.com">
<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>