blob: e8085b02787a17c3ccd17d7c0dc8c94d9156b426 [file] [log] [blame]
<!doctype html>
<meta charset="utf-8">
<title>margin properties</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';
for (const prefix of ['margin-', 'inset-', 'padding-']) {
for (const suffix of ['block-start', 'block-end', 'inline-start', 'inline-end']) {
runPropertyTests(prefix + suffix, [
// TODO: Test 'auto'
{ syntax: '<percentage>' },
{ syntax: '<length>' },
]);
}
}
// TODO: test shorthands and other logical properties.
</script>