blob: 048170262a23b6929993518fca7a5a56d23614e0 [file] [log] [blame]
Karl Dubost53ae4d82022-06-23 23:58:421<!DOCTYPE html>
2<title>WebKitMaxBoxImage on CSSStyleDeclaration</title>
3<link rel="help" href="https://compat.spec.whatwg.org/#css-simple-aliases">
4<meta name="assert" content="This test verifies that these WebKit properties are enumerated on CSSStyleDeclaration" />
5<script src="/resources/testharness.js"></script>
6<script src="/resources/testharnessreport.js"></script>
7<body>
8</body>
9<script>
10const PREFIXED_PROPS = [
11 'webkitMaskBoxImage',
12 'webkitMaskBoxImageOutset',
13 'webkitMaskBoxImageRepeat',
14 'webkitMaskBoxImageSlice',
15 'webkitMaskBoxImageSource',
16 'webkitMaskBoxImageWidth',
17];
18
19const docBodyStyle = document.body.style;
20for (let prop of PREFIXED_PROPS) {
21 test(() => {
22 assert_true(prop in docBodyStyle);
23 }, `${prop} found on CSSStyleDeclaration`);
24}
25</script>