mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
The spec has a general rule for this, which is roughly that "If it's not a falsey value, it's true". However, a couple of media-features are always false, apparently breaking this rule. To handle that, we have an array of false keywords in the JSON, instead of a single keyword. For those always-false media-features, we can enter all their values into this array. Gets us 2 more WPT subtest passes.
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 23 tests
|
|
|
|
23 Pass
|
|
Pass Should be known: '(dynamic-range: standard)'
|
|
Pass Should be known: '(dynamic-range: high)'
|
|
Pass Should be known: '(video-dynamic-range: standard)'
|
|
Pass Should be known: '(video-dynamic-range: high)'
|
|
Pass Should be known: '(dynamic-range)'
|
|
Pass Should be known: '(video-dynamic-range)'
|
|
Pass Should be parseable: '(dynamic-range: 0)'
|
|
Pass Should be unknown: '(dynamic-range: 0)'
|
|
Pass Should be parseable: '(dynamic-range: 10px)'
|
|
Pass Should be unknown: '(dynamic-range: 10px)'
|
|
Pass Should be parseable: '(dynamic-range: invalid)'
|
|
Pass Should be unknown: '(dynamic-range: invalid)'
|
|
Pass Should be parseable: '(video-dynamic-range: 0)'
|
|
Pass Should be unknown: '(video-dynamic-range: 0)'
|
|
Pass Should be parseable: '(video-dynamic-range: 10px)'
|
|
Pass Should be unknown: '(video-dynamic-range: 10px)'
|
|
Pass Should be parseable: '(video-dynamic-range: invalid)'
|
|
Pass Should be unknown: '(video-dynamic-range: invalid)'
|
|
Pass Check that dynamic-range evaluates to false in the boolean context
|
|
Pass Check that video-dynamic-range evaluates to false in the boolean context
|
|
Pass Check that dynamic-range always matches 'standard'
|
|
Pass Check that video-dynamic-range always matches 'standard'
|
|
Pass Check that video-dynamic-range is not 'invalid' |