blob: 2649446cbb4e8d3112e3fc8c91a95528e1a9fa8a [file] [log] [blame]
<!doctype html>
<meta charset="utf-8">
<title>'border-image-slice' property</title>
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-get">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-set">
<link rel="help" href="https://drafts.css-houdini.org/css-typed-om-1/#property-stle-value-normalization">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../../resources/testhelper.js"></script>
<script src="resources/testsuite.js"></script>
<body>
<div id="log"></div>
<script>
'use strict';
runPropertyTests('border-image-slice', [
// Computed value is always four values, which are not supported in
// Typed OM level 1.
{
syntax: '<number>',
computed: (_, result) => assert_is_unsupported(result)
},
{
syntax: '<percentage>',
computed: (_, result) => assert_is_unsupported(result)
},
]);
runUnsupportedPropertyTests('border-image-slice', [
'30 fill', '30 40 50', '30 40 50 60 fill'
]);
</script>