mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
Instead of rejecting invalid media-feature values at parse time, we are expected to parse them, and then treat them as Unknown when evaluating their media query. To implement this, we first try to parse a valid value as before. If that fails, or we have any trailing tokens that could be part of a value, we then scoop up all the possible ComponentValues and treat that as an "unknown"-type MediaFeatureValue. This gets us 66 WPT passes.
34 lines
1.5 KiB
Plaintext
34 lines
1.5 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 28 tests
|
|
|
|
26 Pass
|
|
2 Fail
|
|
Pass Should be known: '(overflow-inline)'
|
|
Pass Should be known: '(overflow-inline: none)'
|
|
Pass Should be known: '(overflow-inline: scroll)'
|
|
Pass Should be parseable: 'overflow-inline'
|
|
Fail Should be unknown: 'overflow-inline'
|
|
Pass Should be parseable: '(overflow-inline: ?)'
|
|
Pass Should be unknown: '(overflow-inline: ?)'
|
|
Pass Should be parseable: '(overflow-inline: 10px)'
|
|
Pass Should be unknown: '(overflow-inline: 10px)'
|
|
Pass Should be parseable: '(overflow-inline: 0)'
|
|
Pass Should be unknown: '(overflow-inline: 0)'
|
|
Pass Should be known: '(overflow-block)'
|
|
Pass Should be known: '(overflow-block: none)'
|
|
Pass Should be known: '(overflow-block: scroll)'
|
|
Pass Should be known: '(overflow-block: paged)'
|
|
Pass Should be parseable: 'overflow-block'
|
|
Fail Should be unknown: 'overflow-block'
|
|
Pass Should be parseable: '(overflow-block: ?)'
|
|
Pass Should be unknown: '(overflow-block: ?)'
|
|
Pass Should be parseable: '(overflow-block: 10px)'
|
|
Pass Should be unknown: '(overflow-block: 10px)'
|
|
Pass Should be parseable: '(overflow-block: 0)'
|
|
Pass Should be unknown: '(overflow-block: 0)'
|
|
Pass Check that overflow-inline: scroll always matches non printing documents
|
|
Pass Check that overflow-block: scroll always matches non printing documents
|
|
Pass Check that overflow-inline: none doesn't match non printing documents
|
|
Pass Check that overflow-block: none doesn't match non printing documents
|
|
Pass Check that overflow-block: paged doesn't match non printing documents |