Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-values/random-computed.tentative.txt
Callum Law 12e8f503aa LibWeb: Support non-fixed <random-value-sharing>
This works by generating random values using XorShift128PlusRNG at
compute time and then caching them on the document using the relevant
random-caching-key
2025-12-01 11:00:33 +00:00

77 lines
4.2 KiB
Plaintext

Harness status: OK
Found 72 tests
72 Pass
Pass Property scale value 'random(1, 11)'
Pass Property scale value 'random(--foo, 2, 12)'
Pass Property scale value 'random(--foo element-shared, 3, 13)'
Pass Property scale value 'random(element-shared --foo, 4, 14)'
Pass Property scale value 'random(0, 10, 5)'
Pass Property scale value 'random(--foo, 10, 20, 5)'
Pass Property scale value 'random(--foo element-shared, 20, 30, 5)'
Pass Property scale value 'random(element-shared --foo, 30, 40, 5)'
Pass Property scale value 'random(100, 10)'
Pass Property scale value 'random(-10, -100)'
Pass Property scale value 'random(-100, -10)'
Pass Property scale value 'random(40, 50, -5)'
Pass Property scale value 'random(5 * 1, 30 / 2)'
Pass Property scale value 'calc(2 * random(6, 16))'
Pass Property scale value 'random(NaN, 100)'
Pass Property scale value 'random(10, NaN)'
Pass Property scale value 'random(NaN, NaN)'
Pass Property scale value 'random(NaN, 100, 10)'
Pass Property scale value 'random(10, NaN, 10)'
Pass Property scale value 'random(NaN, NaN, 10)'
Pass Property scale value 'random(NaN, 100, NaN)'
Pass Property scale value 'random(10, NaN, NaN)'
Pass Property scale value 'random(NaN, NaN, NaN)'
Pass Property scale value 'random(10, 100, NaN)'
Pass Property scale value 'calc(10 + random(NaN, 100))'
Pass Property scale value 'calc(10 + random(10, NaN))'
Pass Property scale value 'calc(10 + random(NaN, NaN))'
Pass Property scale value 'calc(10 + random(NaN, 100, 10))'
Pass Property scale value 'calc(10 + random(10, NaN, 10))'
Pass Property scale value 'calc(10 + random(NaN, NaN, 10))'
Pass Property scale value 'calc(10 + random(NaN, 100, NaN))'
Pass Property scale value 'calc(10 + random(10, NaN, NaN))'
Pass Property scale value 'calc(10 + random(NaN, NaN, NaN))'
Pass Property scale value 'calc(10 + random(10, 100, NaN))'
Pass Property scale value 'random(infinity, 100)'
Pass Property scale value 'random(infinity, infinity)'
Pass Property scale value 'random(infinity, 100, 10)'
Pass Property scale value 'random(infinity, infinity, 10)'
Pass Property scale value 'random(infinity, 100, infinity)'
Pass Property scale value 'random(infinity, infinity, infinity)'
Pass Property scale value 'calc(10 + random(infinity, 100))'
Pass Property scale value 'calc(10 + random(infinity, infinity))'
Pass Property scale value 'calc(10 + random(infinity, infinity, 10))'
Pass Property scale value 'calc(10 + random(infinity, 100, infinity))'
Pass Property scale value 'calc(10 + random(infinity, infinity, infinity))'
Pass Property scale value 'calc(10 + random(infinity, 100, 10))'
Pass Property scale value 'random(10, infinity)'
Pass Property scale value 'random(10, infinity, 10)'
Pass Property scale value 'random(10, infinity, infinity)'
Pass Property scale value 'calc(10 + random(10, infinity))'
Pass Property scale value 'calc(10 + random(10, infinity, 10))'
Pass Property scale value 'calc(10 + random(10, infinity, infinity))'
Pass Property scale value 'random(10, 100, infinity)'
Pass Property scale value 'calc(10 + random(10, 100, infinity))'
Pass Property scale value 'random(10, 100, -infinity)'
Pass Property scale value 'calc(10 + random(10, 100, -infinity))'
Pass Property scale value on pseudo element '::before' 'random(7, 17)'
Pass Property scale value on pseudo element '::before' 'random(--bar, 8, 18)'
Pass Property scale value on pseudo element '::before' 'random(element-shared, 9, 19)'
Pass Property scale value on pseudo element '::before' 'random(element-shared --foo, 10, 20)'
Pass Property translate value 'random(10%, 100%)'
Pass Property translate value 'random(fixed random(1, 2), 10%, 100%)'
Pass Property translate value 'random(fixed random(-2, -1), 10%, 100%)'
Pass Maximum random: 'random(a, b)'
Pass Maximum random - shorthand: random(a, b))
Pass Shared by name within an element: 'random(--identifier, a, b)'
Pass Shared by name within an element - shorthand: random(--identifier, a, b))
Pass Shared between elements within a property: random(element-shared, a, b)
Pass Shared between elements within a property - shorthand: random(element-shared, a, b))
Pass Shared globally: random(--identifier element-shared, a, b)
Pass Shared globally - shorthand: random(element-shared, a, b))
Pass Fixed: random(fixed <number>, a, b)