mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb/CSS: Parse layer in @import rules
This commit is contained in:
Notes:
github-actions[bot]
2025-12-08 13:32:20 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/eb679e57263 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7021
@@ -2,8 +2,7 @@ Harness status: OK
|
||||
|
||||
Found 22 tests
|
||||
|
||||
20 Pass
|
||||
2 Fail
|
||||
22 Pass
|
||||
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
|
||||
Pass @import url("nonexist.css") supports(display:block); should be a valid supports() import rule
|
||||
@@ -15,8 +14,8 @@ Pass @import url("nonexist.css") supports((display: flex) or (foo: bar)); should
|
||||
Pass @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
|
||||
Pass @import url("nonexist.css") layer(A) supports((display: flex) or (foo: bar)); should be a valid supports() import rule
|
||||
Pass @import url("nonexist.css") layer(A.B) supports((display: flex) and (foo: bar)); should be a valid supports() import rule
|
||||
Pass @import url("nonexist.css") supports(selector(a)); should be a valid supports() import rule
|
||||
Pass @import url("nonexist.css") supports(selector(p a)); should be a valid supports() import rule
|
||||
Pass @import url("nonexist.css") supports(selector(p > a)); should be a valid supports() import rule
|
||||
|
||||
Reference in New Issue
Block a user