mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
Previously, for `foo < 30px` ranges, we'd flip them and store them as `30px > foo` instead. That worked fine, but means the serialization is wrong. So instead, keep them in their original form. I experimented with giving Range two optional sub-structs instead of 4 optional members, thinking it would be smaller - but it's actually larger, because the two Optional<Comparison>s fit snugly together. So, the slightly-goofy all-Optionals remains. This gets us 2 WPT passes that I'm aware of.
31 lines
1.4 KiB
Plaintext
31 lines
1.4 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 26 tests
|
|
|
|
26 Pass
|
|
Pass Should be known: '(prefers-contrast)'
|
|
Pass Should be known: '(prefers-contrast: no-preference)'
|
|
Pass Should be known: '(prefers-contrast: more)'
|
|
Pass Should be known: '(prefers-contrast: less)'
|
|
Pass Should be known: '(prefers-contrast: custom)'
|
|
Pass Should be parseable: '(prefers-contrast: increase)'
|
|
Pass Should be unknown: '(prefers-contrast: increase)'
|
|
Pass Should be parseable: '(prefers-contrast: none)'
|
|
Pass Should be unknown: '(prefers-contrast: none)'
|
|
Pass Should be parseable: '(prefers-contrast: forced high)'
|
|
Pass Should be unknown: '(prefers-contrast: forced high)'
|
|
Pass Should be parseable: '(prefers-contrast: forced low)'
|
|
Pass Should be unknown: '(prefers-contrast: forced low)'
|
|
Pass Should be parseable: '(prefers-contrast > increase)'
|
|
Pass Should be unknown: '(prefers-contrast > increase)'
|
|
Pass Should be parseable: '(prefers-increased-contrast)'
|
|
Pass Should be unknown: '(prefers-increased-contrast)'
|
|
Pass Should be parseable: '(prefers-decreased-contrast)'
|
|
Pass Should be unknown: '(prefers-decreased-contrast)'
|
|
Pass Should be parseable: '(prefers-contrast: high)'
|
|
Pass Should be unknown: '(prefers-contrast: high)'
|
|
Pass Should be parseable: '(prefers-contrast: low)'
|
|
Pass Should be unknown: '(prefers-contrast: low)'
|
|
Pass Should be parseable: '(prefers-contrast: forced)'
|
|
Pass Should be unknown: '(prefers-contrast: forced)'
|
|
Pass Check boolean context evaluation. |