mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
Tests: Import some @import
tests
This commit is contained in:
parent
c679643391
commit
1d9902e22c
Notes:
github-actions[bot]
2025-04-09 17:47:24 +00:00
Author: https://github.com/AtkinsSJ
Commit: 1d9902e22c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4285
Reviewed-by: https://github.com/tcl3 ✅
7 changed files with 546 additions and 0 deletions
|
@ -0,0 +1,28 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 22 tests
|
||||
|
||||
5 Pass
|
||||
17 Fail
|
||||
Pass @import url("nonexist.css") supports(); should be an invalid import rule due to an invalid supports() declaration
|
||||
Pass @import url("nonexist.css") supports(foo: bar); should be an invalid import rule due to an invalid supports() declaration
|
||||
Fail @import url("nonexist.css") supports(display:block); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports((display:flex)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports(not (display: flex)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports((display: flex) and (display: block)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports((display: flex) or (display: block)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports((display: flex) or (foo: bar)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports(display: block !important); should be a valid supports() import rule
|
||||
Pass @import url("nonexist.css") layer supports(); should be an invalid import rule due to an invalid supports() declaration
|
||||
Pass @import url("nonexist.css") layer supports(foo: bar); should be an invalid import rule due to an invalid supports() declaration
|
||||
Fail @import url("nonexist.css") layer(A) supports((display: flex) or (foo: bar)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") layer(A.B) supports((display: flex) and (foo: bar)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports(selector(a)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports(selector(p a)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports(selector(p > a)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports(selector(p + a)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports(font-tech(color-colrv1)); should be a valid supports() import rule
|
||||
Fail @import url("nonexist.css") supports(font-format(opentype)); should be a valid supports() import rule
|
||||
Fail @import url(nonexist.css) supports(display:block); should be a valid supports() import rule
|
||||
Fail @import "nonexist.css" supports(display:block); should be a valid supports() import rule
|
||||
Pass @import url("nonexist.css") supports; should still be a valid import rule with an invalid supports() declaration
|
Loading…
Add table
Add a link
Reference in a new issue