mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
Our parsing code was treating `foo` and `foo: bar` as `<media-feature>`s when really they need to be `(foo)` and `(foo: bar)` respectively. This previously worked for the valid case because boolean expressions can also have arbitrary `()` blocks. However, it meant we'd also allow them without the parentheses which isn't valid. So instead, parse and serialize the parentheses as part of the `<media-feature>`. This gets us some WPT passes and fixes an Acid3 failure.
33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
Harness status: OK
|
|
|
|
Found 28 tests
|
|
|
|
28 Pass
|
|
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'
|
|
Pass 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'
|
|
Pass 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 |