1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
<!DOCTYPE html>
<title>Aliases enumerated on CSSStyleDeclaration</title>
<link rel="help" href="https://compat.spec.whatwg.org/#css-simple-aliases">
<meta name="assert" content="This test verifies that aliases are enumerated on CSSStyleDeclaration" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
</body>
<script>
const PREFIXED_PROPS = [
'webkitAlignContent',
'webkitAlignItems',
'webkitAlignSelf',
'webkitAnimation',
'webkitAnimationDelay',
'webkitAnimationDirection',
'webkitAnimationDuration',
'webkitAnimationFillMode',
'webkitAnimationIterationCount',
'webkitAnimationName',
'webkitAnimationPlayState',
'webkitAnimationTimingFunction',
'webkitBackfaceVisibility',
'WebKitBackgroundClip',
'webkitBackgroundOrigin',
'webkitBackgroundSize',
'webkitBorderBottomLeftRadius',
'webkitBorderBottomRightRadius',
'webkitBorderRadius',
'webkitBorderTopLeftRadius',
'webkitBorderTopRightRadius',
'webkitBoxShadow',
'webkitBoxSizing',
'webkitFilter',
'webkitFlex',
'webkitFlexBasis',
'webkitFlexDirection',
'webkitFlexFlow',
'webkitFlexGrow',
'webkitFlexShrink',
'webkitFlexWrap',
'webkitJustifyContent',
'webkitMask',
'webkitMaskClip',
'webkitMaskComposite',
'webkitMaskImage',
'webkitMaskOrigin',
'webkitMaskPosition',
'webkitMaskRepeat',
'webkitMaskSize',
'webkitOrder',
'webkitPerspective',
'webkitPerspectiveOrigin',
'webkitTransform',
'webkitTransformOrigin',
'webkitTransformStyle',
'webkitTransition',
'webkitTransitionDelay',
'webkitTransitionDuration',
'webkitTransitionProperty',
'webkitTransitionTimingFunction',
];
const docBodyStyle = document.body.style;
for (let prop of PREFIXED_PROPS) {
test(() => {
assert_true(prop in docBodyStyle);
}, `${prop} found on CSSStyleDeclaration`);
}
</script>
|