Tests: Import some @import tests

This commit is contained in:
Sam Atkins
2025-04-08 18:21:29 +01:00
committed by Tim Ledbetter
parent c679643391
commit 1d9902e22c
Notes: github-actions[bot] 2025-04-09 17:47:24 +00:00
7 changed files with 546 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
Harness status: OK
Found 34 tests
30 Pass
4 Fail
Pass @media is CSSGroupingRule
Pass @media rule type
Pass Empty @media rule length
Fail insertRule of @import into @media
Pass insertRule into empty @media at bad index
Pass insertRule into @media updates length
Pass insertRule of valid @media into @media
Pass insertRule of valid style rule into @media
Fail insertRule of invalid @media into @media
Pass insertRule of empty string into @media
Pass insertRule of valid @media rule followed by garbage into @media
Pass insertRule of valid style rule followed by garbage into @media
Pass insertRule of mutiple valid @media into @media
Pass insertRule of valid style rulle followed by valid @media into @media
Pass insertRule of valid style rule followed by valid @media into @media
Pass insertRule of two valid style rules into @media
Pass Return value of insertRule into @media
Pass @supports is CSSGroupingRule
Pass @supports rule type
Pass Empty @supports rule length
Fail insertRule of @import into @supports
Pass insertRule into empty @supports at bad index
Pass insertRule into @supports updates length
Pass insertRule of valid @media into @supports
Pass insertRule of valid style rule into @supports
Fail insertRule of invalid @media into @supports
Pass insertRule of empty string into @supports
Pass insertRule of valid @media rule followed by garbage into @supports
Pass insertRule of valid style rule followed by garbage into @supports
Pass insertRule of mutiple valid @media into @supports
Pass insertRule of valid style rulle followed by valid @media into @supports
Pass insertRule of valid style rule followed by valid @media into @supports
Pass insertRule of two valid style rules into @supports
Pass Return value of insertRule into @supports