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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
[random-serialize.tentative.html]
[e.style['width'\] = "random(0px, 100px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(--foo, 0px, 100px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(100px, 0px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(-100px, -10px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(1em, 200rem)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(10 * 100px, 200em / 2)" should set the property value]
expected: FAIL
[e.style['width'\] = "calc(2 * random(0px, 100px))" should set the property value]
expected: FAIL
[e.style['max-lines'\] = "random(25, 50)" should set the property value]
expected: FAIL
[e.style['scale'\] = "random(0.5, 2.5)" should set the property value]
expected: FAIL
[e.style['rotate'\] = "random(25deg, 1turn)" should set the property value]
expected: FAIL
[e.style['transition-delay'\] = "random(25ms, 50s)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(0px, 100px, 50px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(auto, 0px, 100px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(--foo element-shared, 0px, 100px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(auto element-shared, 0px, 100px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(element-shared --foo, 0px, 100px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(element-shared auto, 0px, 100px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(fixed 0.5, 0px, 100px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(--foo, 0px, 100px, 50px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(auto, 0px, 100px, 50px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(--foo element-shared, 0px, 100px, 50px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(auto element-shared, 0px, 100px, 50px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(element-shared --foo, 0px, 100px, 50px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(element-shared auto, 0px, 100px, 50px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(fixed 0.5, 0px, 100px, 50px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(-100px, -10px, -5px)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(fixed calc(2 / 4), 0px, 100px)" should set the property value]
expected: FAIL
[e.style['max-lines'\] = "random(25, 50, 5)" should set the property value]
expected: FAIL
[e.style['scale'\] = "random(0.5, 2.5, 0.1)" should set the property value]
expected: FAIL
[e.style['rotate'\] = "random(25deg, 1turn, 5deg)" should set the property value]
expected: FAIL
[e.style['transition-delay'\] = "random(25ms, 50s, 5s)" should set the property value]
expected: FAIL
[e.style['width'\] = "random(10px, 20%)" should set the property value]
expected: FAIL
[e.style['math-depth'\] = "add(random(0, 3))" should set the property value]
expected: FAIL
[e.style['color'\] = "rgb(random(0, 255) random(0, 255) random(0, 255))" should set the property value]
expected: FAIL
[e.style['color'\] = "rgb(from blue r g random(b, (150 + b)))" should set the property value]
expected: FAIL
[e.style['color'\] = "color-mix(in srgb, rgb(random(0, 255) 0 random(0, 255)), rgb(0 random(0, 255) 0))" should set the property value]
expected: FAIL
|