Bug 1693115 [wpt PR 27649] - [AspectRatio] treat <ratio> that ends with slash as invalid, a=testonly

Automatic update from web-platform-tests
[AspectRatio] treat <ratio> that ends with slash as invalid

Treat <ratio> that ends with slash as invalid:
https://drafts.csswg.org/css-values-4/#ratio-value

Bug: 1045668
Change-Id: Icc4c16222f89402958b7e9f01c904472b15cfa80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2697151
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Rob Buis <rbuis@igalia.com>
Cr-Commit-Position: refs/heads/master@{#854815}

--

wpt-commits: 2ebf73585d4644cc5f232184b69642f36b6b8344
wpt-pr: 27649
This commit is contained in:
Rob Buis 2021-02-22 21:46:01 +00:00 коммит произвёл moz-wptsync-bot
Родитель 2f53f83c91
Коммит 23dcfbbf26
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -16,4 +16,7 @@ test_invalid_value("aspect-ratio", "16 / -9");
test_invalid_value("aspect-ratio", "1 invalid");
test_invalid_value("aspect-ratio", "invalid 1.5");
test_invalid_value("aspect-ratio", "auto 1 / 1 auto");
test_invalid_value("aspect-ratio", "16 /");
test_invalid_value("aspect-ratio", "auto 16 /");
test_invalid_value("aspect-ratio", "16 / auto");
</script>