| Karl Dubost | 53ae4d8 | 2022-06-23 23:58:42 | [diff] [blame] | 1 | <!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> |
| 10 | const PREFIXED_PROPS = [ |
| 11 | 'webkitMaskBoxImage', |
| 12 | 'webkitMaskBoxImageOutset', |
| 13 | 'webkitMaskBoxImageRepeat', |
| 14 | 'webkitMaskBoxImageSlice', |
| 15 | 'webkitMaskBoxImageSource', |
| 16 | 'webkitMaskBoxImageWidth', |
| 17 | ]; |
| 18 | |
| 19 | const docBodyStyle = document.body.style; |
| 20 | for (let prop of PREFIXED_PROPS) { |
| 21 | test(() => { |
| 22 | assert_true(prop in docBodyStyle); |
| 23 | }, `${prop} found on CSSStyleDeclaration`); |
| 24 | } |
| 25 | </script> |