Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'

This commit is contained in:
WPT Sync Bot 2022-01-20 04:38:55 +00:00 committed by cybai
parent 4401622eb1
commit b77ad115f6
16832 changed files with 270819 additions and 87621 deletions

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Values: parsing width with valid viewport units</title>
<link rel="help" href="https://drafts.csswg.org/css-values-4/#viewport-relative-lengths">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
const prefixes = ["", "s", "l", "d"];
const suffixes = ["vw", "vh", "vi", "vb", "vmin", "vmax"];
const units = [];
for (const prefix of prefixes) {
for (const suffix of suffixes) {
units.push(prefix + suffix);
}
}
for (const unit of units) {
test_valid_value("width", "1" + unit);
}
</script>
</body>
</html>