Update web-platform-tests to revision f915dfd69790e7ca09f9bef4eb08cd30163cb3e3

This commit is contained in:
WPT Sync Bot 2019-05-28 10:22:49 +00:00
parent 2ac916b5a1
commit fde011e73d
70 changed files with 1490 additions and 483 deletions

View file

@ -26,11 +26,14 @@ test_computed_value("background-position-x", "10px");
test_computed_value("background-position-x", "0.5em", "20px");
test_computed_value("background-position-x", "calc(10px - 0.5em)", "-10px");
test_computed_value("background-position-x", "left -20%", "-20%");
test_computed_value("background-position-x", "right 10px", "calc(100% + 10px)");
test_computed_value("background-position-x", "-20%, 10px");
test_computed_value("background-position-x", "center, left, right", "50%, 0%, 100px");
test_computed_value("background-position-x", "0.5em, x-start, x-end", "20px, x-start, x-end");
test_computed_value("background-position-x", "calc(10px - 0.5em), left -20%, right 10px", "-10px, -20%, calc(100% + 10px)");
test_computed_value("background-position-x", "right -10px", "calc(100% + 10px)");
test_computed_value("background-position-x", "-20%, 10px", "-20%");
test_computed_value("background-position-x", "center, left, right", "50%");
test_computed_value("background-position-x", "0.5em, x-start, x-end", "20px");
// See background-computed.html for a test with multiple background images.
test_computed_value("background-position-x", "calc(10px - 0.5em), -20%, 10px", "-10px");
test_computed_value("background-position-x", "calc(10px - 0.5em), left -20%, right 10px", "-10px");
</script>
</body>
</html>