Update web-platform-tests to revision 9064a51d4e4c177bf4b629031c3ac8010c910132

This commit is contained in:
WPT Sync Bot 2019-09-02 10:26:49 +00:00
parent 026dc7485f
commit 0eedd13bef
215 changed files with 1862 additions and 897 deletions

View file

@ -23,14 +23,23 @@
<div id="target"></div>
</div>
<script>
const target = document.getElementById("target");
test_computed_value("margin", "10px");
test_computed_value("margin", "10px 20px 30px 40px");
test_computed_value("margin", "calc(0.5em + 10px)", "30px");
test_computed_value("margin", "30%", "60px");
// Since what should the margin be in presence of other margins is a bit
// unclear (https://github.com/w3c/csswg-drafts/issues/2328), reset the margin
// before testing.
target.style.margin = "0";
test_computed_value("margin-top", "10px");
target.style.margin = "0";
test_computed_value("margin-right", "20px");
target.style.margin = "0";
test_computed_value("margin-bottom", "30px");
target.style.margin = "0";
test_computed_value("margin-left", "40px");
</script>
</body>