css/css-conditional/container-queries/

329 / 441 WPT subtests passing

Failed
112
Timed out
0
Not run
0
Test files
20
Blocking files
0

Chrome 441 / 441 WPT subtests passing on the same files, none blocking

Tests

1 directory, 10 test files here
DirectorySubtests passingChromeTest filesStanding
scroll-state/50 / 111111 / 11110none blocking

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
at-container-parsing.html66 / 117 passingChrome 117 / 11751 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 117 / 117 WPT subtests passing runner status OK
  1. FAILQuery condition should be valid: (width)
    assert_equals: expected "true" but got ""
  2. FAILQuery condition should be valid: (min-width: 0px)
    assert_equals: expected "true" but got ""
  3. FAILQuery condition should be valid: (max-width: 0px)
    assert_equals: expected "true" but got ""
  4. FAILQuery condition should be valid: (height)
    assert_equals: expected "true" but got ""
  5. FAILQuery condition should be valid: (min-height: 0px)
    assert_equals: expected "true" but got ""
  6. FAILQuery condition should be valid: (max-height: 0px)
    assert_equals: expected "true" but got ""
  7. FAILQuery condition should be valid: (aspect-ratio)
    assert_equals: expected "true" but got ""
  8. FAILQuery condition should be valid: (min-aspect-ratio: 1/2)
    assert_equals: expected "true" but got ""
  9. FAILQuery condition should be valid: (max-aspect-ratio: 1/2)
    assert_equals: expected "true" but got ""
  10. FAILQuery condition should be valid: (orientation: portrait)
    assert_equals: expected "true" but got ""
  11. FAILQuery condition should be valid: (inline-size)
    assert_equals: expected "true" but got ""
  12. FAILQuery condition should be valid: (min-inline-size: 0px)
    assert_equals: expected "true" but got ""
  13. FAILQuery condition should be valid: (max-inline-size: 0px)
    assert_equals: expected "true" but got ""
  14. FAILQuery condition should be valid: (block-size)
    assert_equals: expected "true" but got ""
  15. FAILQuery condition should be valid: (min-block-size: 0px)
    assert_equals: expected "true" but got ""
  16. FAILQuery condition should be valid: (max-block-size: 0px)
    assert_equals: expected "true" but got ""
  17. FAILQuery condition should be valid: (width: 100px)
    assert_equals: expected "true" but got ""
  18. FAILQuery condition should be valid: ((width: 100px))
    assert_equals: expected "true" but got ""
  19. FAILQuery condition should be valid: (not (width: 100px))
    assert_equals: expected "true" but got ""
  20. FAILQuery condition should be valid: ((width: 100px) and (height: 100px))
    assert_equals: expected "true" but got ""
  21. FAILQuery condition should be valid: (((width: 40px) or (width: 50px)) and (height: 100px))
    assert_equals: expected "true" but got ""
  22. FAILQuery condition should be valid: ((width: 100px) and ((height: 40px) or (height: 50px)))
    assert_equals: expected "true" but got ""
  23. FAILQuery condition should be valid: (((width: 40px) and (height: 50px)) or (height: 100px))
    assert_equals: expected "true" but got ""
  24. FAILQuery condition should be valid: ((width: 50px) or ((width: 40px) and (height: 50px)))
    assert_equals: expected "true" but got ""
  25. FAILQuery condition should be valid: ((width: 100px) and (not (height: 100px)))
    assert_equals: expected "true" but got ""
  26. FAILQuery condition should be valid: (width < 100px)
    assert_equals: expected "true" but got ""
  27. FAILQuery condition should be valid: (width <= 100px)
    assert_equals: expected "true" but got ""
  28. FAILQuery condition should be valid: (width = 100px)
    assert_equals: expected "true" but got ""
  29. FAILQuery condition should be valid: (width > 100px)
    assert_equals: expected "true" but got ""
  30. FAILQuery condition should be valid: (width >= 100px)
    assert_equals: expected "true" but got ""
  31. FAILQuery condition should be valid: (100px < width)
    assert_equals: expected "true" but got ""
  32. FAILQuery condition should be valid: (100px <= width)
    assert_equals: expected "true" but got ""
  33. FAILQuery condition should be valid: (100px = width)
    assert_equals: expected "true" but got ""
  34. FAILQuery condition should be valid: (100px > width)
    assert_equals: expected "true" but got ""
  35. FAILQuery condition should be valid: (100px >= width)
    assert_equals: expected "true" but got ""
  36. FAILQuery condition should be valid: (100px < width < 200px)
    assert_equals: expected "true" but got ""
  37. FAILQuery condition should be valid: (100px < width <= 200px)
    assert_equals: expected "true" but got ""
  38. FAILQuery condition should be valid: (100px <= width < 200px)
    assert_equals: expected "true" but got ""
  39. FAILQuery condition should be valid: (100px > width > 200px)
    assert_equals: expected "true" but got ""
  40. FAILQuery condition should be valid: (100px > width >= 200px)
    assert_equals: expected "true" but got ""
  41. FAILQuery condition should be valid: (100px >= width > 200px)
    assert_equals: expected "true" but got ""
  42. FAILQuery condition should be valid: (width: calc(10px))
    assert_equals: expected "true" but got ""
  43. FAILQuery condition should be valid: (width: calc(10em))
    assert_equals: expected "true" but got ""
  44. FAILQuery condition should be valid: (width: calc(10px + 10em))
    assert_equals: expected "true" but got ""
  45. FAILQuery condition should be valid: (width < calc(10px + 10em))
    assert_equals: expected "true" but got ""
  46. FAILQuery condition should be valid: (width < max(10px, 10em))
    assert_equals: expected "true" but got ""
  47. FAILQuery condition should be valid: (calc(10px + 10em) < width)
    assert_equals: expected "true" but got ""
  48. FAILQuery condition should be valid: (calc(10px + 10em) < width < max(30px, 30em))
    assert_equals: expected "true" but got ""
  49. FAILQuery condition should be valid: (width: 100px) and (height: 100px)
    assert_equals: expected "true" but got ""
  50. FAILQuery condition should be valid: (width: 100px) or (height: 100px)
    assert_equals: expected "true" but got ""
  51. FAILQuery condition should be valid: not (width: 100px)
    assert_equals: expected "true" but got ""
66 passing subtests
  1. Query condition should be valid but unknown: foo(width)
  2. Query condition should be valid but unknown: size(width)
  3. Query condition should be valid but unknown: (asdf)
  4. Query condition should be valid but unknown: (resolution > 100dpi)
  5. Query condition should be valid but unknown: (resolution: 150dpi)
  6. Query condition should be valid but unknown: (resolution: calc(2x))
  7. Query condition should be valid but unknown: (color)
  8. Query condition should be valid but unknown: (min-color: 1)
  9. Query condition should be valid but unknown: (color-index >= 1)
  10. Query condition should be valid but unknown: size(grid)
  11. Query condition should be valid but unknown: (grid)
  12. Query condition should be valid but unknown: (width == 100px)
  13. Query condition should be valid but unknown: (100px == width)
  14. Query condition should be valid but unknown: (100px = width = 200px)
  15. Query condition should be valid but unknown: (100px < width > 200px)
  16. Query condition should be valid but unknown: (100px <= width >= 200px)
  17. Query condition should be valid but unknown: (100px <= width > 200px)
  18. Query condition should be valid but unknown: (100px < width >= 200px)
  19. Query condition should be valid but unknown: (100px : width : 200px)
  20. Query condition should be invalid: screen
  21. Query condition should be invalid: print
  22. Query condition should be invalid: not print
  23. Query condition should be invalid: only print
  24. Query condition should be invalid: screen and (width: 100px)
  25. Query condition should be invalid: screen or (width: 100px)
  26. Query condition should be invalid: not screen and (width: 100px)
  27. Query condition should be invalid: not screen or (width: 100px)
  28. Query condition should be invalid: foo (width: 100px)
  29. @container rule should be valid: @container name not (width <= 500px) {} {}
  30. @container rule should be valid: @container not (width <= 500px) {} {}
  31. @container rule should be valid: @container (width: 100px), (height: 100px) {} {}
  32. @container rule should be valid: @container (width),(height) , (inline-size > 20px) {} {}
  33. @container rule should be valid: @container (width), name (height) {} {}
  34. @container rule should be valid: @container --foo {} {}
  35. @container rule should be valid: @container container {} {}
  36. @container rule should be valid: @container container, container2 {} {}
  37. @container rule should be invalid: @container {} {}
  38. @container rule should be invalid: @container (width), {} {}
  39. @container rule should be invalid: @container ,(width) {} {}
  40. @container rule should be invalid: @container (width),,(height) {} {}
  41. Container name: foo
  42. Container name: foo
  43. Container name: foo
  44. Container name: normal
  45. Container name: Normal
  46. Container name: auto
  47. Container name: Auto
  48. Container name: foo foo
  49. Container name: 1px
  50. Container name: 50gil
  51. Container name: name(foo)
  52. Container name: type(inline-size)
  53. Container name: "foo"
  54. Container name: "inherit"
  55. Container name: inherit
  56. Container name: INITIAL
  57. Container name: Unset
  58. Container name: deFAULT
  59. Container name: none
  60. Container name: None
  61. Container name: and
  62. Container name: or
  63. Container name: not
  64. Container name: And
  65. Container name: oR
  66. Container name: nOt
at-container-serialization.html19 / 19 passingChrome 19 / 190 failedClean
Standing
Clean runner status OK
Chrome
Clean 19 / 19 WPT subtests passing runner status OK
19 passing subtests
  1. Serialization of conditionText
  2. Serialization of inner @container rule
  3. Serialization of nested @container rule
  4. @container conditionText serialization: ( wiDTh )
  5. @container conditionText serialization: (width:100px)
  6. @container conditionText serialization: (min-width: 100px)
  7. @container conditionText serialization: ( MAX-WIDTH:100px )
  8. @container conditionText serialization: (width > 100px)
  9. @container conditionText serialization: (width < 100px)
  10. @container conditionText serialization: (widTH >= 100px)
  11. @container conditionText serialization: (width <= 100px)
  12. @container conditionText serialization: (10px < width < 100px)
  13. @container conditionText serialization: (10px <= width <= 100px)
  14. @container conditionText serialization: (100px>WIDTH>10px)
  15. @container conditionText serialization: ( 100px >= width >= 10px )
  16. @container conditionText serialization: (calc(1em + 1px) >= width >= max(10em, 10px))
  17. @container conditionText serialization: (width),(height) ,--foo ,--bar
  18. @container conditionText serialization: --NAMe
  19. @container conditionText serialization: NAMe (inline-sizE < 1300px )
at-container-style-parsing.html41 / 41 passingChrome 41 / 410 failedClean
Standing
Clean runner status OK
Chrome
Clean 41 / 41 WPT subtests passing runner status OK
41 passing subtests
  1. Query condition should be valid: style(--my-prop: foo)
  2. Query condition should be valid: style(--my-prop: foo - bar ())
  3. Query condition should be valid: style(not ((--foo: calc(10px + 2em)) and ((--foo: url(x)))))
  4. Query condition should be valid: style((--foo: bar) or (--bar: 10px))
  5. Query condition should be valid: style(--my-prop:)
  6. Query condition should be valid: style(--my-prop: )
  7. Query condition should be valid: style(--foo: bar !important)
  8. Query condition should be valid: style(--foo)
  9. Query condition should be valid: style(--my-prop: attr(data-foo))
  10. Query condition should be valid: style(--foo >= --bar)
  11. Query condition should be valid: style(--foo = --bar)
  12. Query condition should be valid: style(--foo <= --bar)
  13. Query condition should be valid: style(10px > 10em)
  14. Query condition should be valid: style(--foo >= 10em)
  15. Query condition should be valid: style(10px > --bar)
  16. Query condition should be valid: style(10px = --bar)
  17. Query condition should be valid: style(--foo < --bar)
  18. Query condition should be valid: style(10px <= 10em)
  19. Query condition should be valid: style(10px = 10em)
  20. Query condition should be valid: style(10px <= calc(10em + 20em))
  21. Query condition should be valid: style(calc(10em + 20em) < 10px)
  22. Query condition should be valid: style(--foo < 10em)
  23. Query condition should be valid: style(10px <= --bar)
  24. Query condition should be valid: style(--foo < --bar <= --baz)
  25. Query condition should be valid: style(--foo >= --bar > --baz)
  26. Query condition should be valid: style(--foo > 10px > 10em)
  27. Query condition should be valid: style(10px < --foo < 10em)
  28. Query condition should be valid: style(10px < --foo <= 10em)
  29. Query condition should be valid: style(10px <= --foo < 10em)
  30. Query condition should be valid: style(10px > 10em > --foo)
  31. Query condition should be valid: style(10px < 10em < 10)
  32. Query condition should be valid: style(var(--p) < calc(100 + 200))
  33. Query condition should be valid: style(attr(data-foo type(<number>)) < var(--p) < var(--q))
  34. Query condition should be valid: style(--foo < initial)
  35. Query condition should be valid: style(10px <= env(safe-area-inset-top) < 20px)
  36. Query condition should be valid but unknown: style(--foo: bar;)
  37. Query condition should be valid but unknown: style(style(--foo: bar))
  38. Query condition should be valid but unknown: style(10px < 10em > 10)
  39. Query condition should be valid but unknown: style( < 10em)
  40. Query condition should be valid but unknown: style(10px < 10em !)
  41. Query condition should be valid but unknown: style(10px ! < 10em)
at-container-style-serialization.html17 / 17 passingChrome 17 / 170 failedClean
Standing
Clean runner status OK
Chrome
Clean 17 / 17 WPT subtests passing runner status OK
17 passing subtests
  1. Normalize spaces
  2. Empty declaration value - spaces
  3. Empty declaration value
  4. No declaration value
  5. Unknown CSS property after 'or'
  6. Not a style function with space before '('
  7. Spaces preserved in custom property value
  8. Original string number in custom property value
  9. Single extra parens
  10. Double extra parens
  11. Multiple extra parens
  12. Extra parens and Not
  13. Subexpressions and extra parens
  14. Multiple subexpressions and extra parens
  15. Multiple subexpressions and unknowns
  16. Escape custom property identifier
  17. Escape custom property identifier - range syntax
container-computed.html14 / 14 passingChrome 14 / 140 failedClean
Standing
Clean runner status OK
Chrome
Clean 14 / 14 WPT subtests passing runner status OK
14 passing subtests
  1. Property container value 'initial'
  2. Property container value 'inherit'
  3. Property container value 'unset'
  4. Property container value 'none / inline-size'
  5. Property container value 'none / size'
  6. Property container value 'inline-size / inline-size'
  7. Property container value 'block-size / size'
  8. Property container value 'foo / inline-size'
  9. Property container value 'foo /inline-size'
  10. Property container value 'foo/ inline-size'
  11. Property container value 'foo/inline-size'
  12. Property container value 'FoO / size'
  13. Property container value 'foo bar / size'
  14. Property container value 'foo / normal'
container-name-computed.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. Property container-name value 'initial'
  2. Property container-name value 'unset'
  3. Property container-name value 'foo'
  4. Property container-name value 'FoO'
  5. Property container-name value 'foo bar'
  6. Property container-name value 'bar foo'
  7. Property container-name value 'foo foo bar'
  8. Property container-name value 'foo bar foo'
  9. Property container-name value 'bar foo foo'
  10. Property container-name value '\!escaped'
container-name-parsing.html29 / 29 passingChrome 29 / 290 failedClean
Standing
Clean runner status OK
Chrome
Clean 29 / 29 WPT subtests passing runner status OK
29 passing subtests
  1. e.style['container-name'] = "initial" should set the property value
  2. e.style['container-name'] = "inherit" should set the property value
  3. e.style['container-name'] = "unset" should set the property value
  4. e.style['container-name'] = "revert" should set the property value
  5. e.style['container-name'] = "none" should set the property value
  6. e.style['container-name'] = "foo" should set the property value
  7. e.style['container-name'] = "BAR" should set the property value
  8. e.style['container-name'] = "foo bar" should set the property value
  9. e.style['container-name'] = "foo foo" should set the property value
  10. e.style['container-name'] = "\\!escaped" should set the property value
  11. e.style['container-name'] = "auto" should set the property value
  12. e.style['container-name'] = "normal" should set the property value
  13. e.style['container-name'] = "none none" should not set the property value
  14. e.style['container-name'] = "foo, bar" should not set the property value
  15. e.style['container-name'] = "#fff" should not set the property value
  16. e.style['container-name'] = "1px" should not set the property value
  17. e.style['container-name'] = "default" should not set the property value
  18. e.style['container-name'] = "\"initial\"" should not set the property value
  19. e.style['container-name'] = "\"inherit\"" should not set the property value
  20. e.style['container-name'] = "\"unset\"" should not set the property value
  21. e.style['container-name'] = "\"revert\"" should not set the property value
  22. e.style['container-name'] = "\"none\"" should not set the property value
  23. e.style['container-name'] = "\"foo\"" should not set the property value
  24. e.style['container-name'] = "not" should not set the property value
  25. e.style['container-name'] = "and" should not set the property value
  26. e.style['container-name'] = "or" should not set the property value
  27. e.style['container-name'] = "Not" should not set the property value
  28. e.style['container-name'] = "aNd" should not set the property value
  29. e.style['container-name'] = "oR" should not set the property value
container-parsing.html48 / 48 passingChrome 48 / 480 failedClean
Standing
Clean runner status OK
Chrome
Clean 48 / 48 WPT subtests passing runner status OK
48 passing subtests
  1. e.style['container'] = "initial" should set the property value
  2. e.style['container'] = "inherit" should set the property value
  3. e.style['container'] = "unset" should set the property value
  4. e.style['container'] = "revert" should set the property value
  5. e.style['container'] = "none" should set the property value
  6. e.style['container'] = "none / normal" should set the property value
  7. e.style['container'] = "inline-size" should set the property value
  8. e.style['container'] = "none / inline-size" should set the property value
  9. e.style['container'] = "size" should set the property value
  10. e.style['container'] = "block-size / size" should set the property value
  11. e.style['container'] = "inline-size / inline-size" should set the property value
  12. e.style['container'] = "size / size" should set the property value
  13. e.style['container'] = "foo" should set the property value
  14. e.style['container'] = "foo / normal" should set the property value
  15. e.style['container'] = "foo bar / size" should set the property value
  16. e.style['container'] = "foo bar / normal" should set the property value
  17. e.style['container'] = "FOO / size" should set the property value
  18. e.style['container'] = "FOO/size" should set the property value
  19. e.style['container'] = " FOO /size" should set the property value
  20. e.style['container'] = "normal / size" should set the property value
  21. e.style['container'] = "auto / size" should set the property value
  22. e.style['container'] = "none none" should not set the property value
  23. e.style['container'] = "none inline-size" should not set the property value
  24. e.style['container'] = "none / inline-size none" should not set the property value
  25. e.style['container'] = "none / inline-size normal" should not set the property value
  26. e.style['container'] = "none / inline-size inline-size" should not set the property value
  27. e.style['container'] = "none / inline-size block-size unknown" should not set the property value
  28. e.style['container'] = "none / inline-size block-size" should not set the property value
  29. e.style['container'] = "none / size block-size" should not set the property value
  30. e.style['container'] = "none, none" should not set the property value
  31. e.style['container'] = "none, normal" should not set the property value
  32. e.style['container'] = "none / none" should not set the property value
  33. e.style['container'] = "none / auto" should not set the property value
  34. e.style['container'] = "none / foo" should not set the property value
  35. e.style['container'] = "none / foo, bar" should not set the property value
  36. e.style['container'] = "#fff" should not set the property value
  37. e.style['container'] = "1px" should not set the property value
  38. e.style['container'] = "default" should not set the property value
  39. e.style['container'] = "10px / inline-size" should not set the property value
  40. e.style['container'] = "#fefefe / inline-size" should not set the property value
  41. e.style['container'] = "calc(3px) / inline-size" should not set the property value
  42. e.style['container'] = "size 1 / name" should not set the property value
  43. e.style['container'] = "none / block-size" should not set the property value
  44. e.style['container'] = "name / block-size" should not set the property value
  45. e.style['container'] = " NAME / block-size" should not set the property value
  46. e.style['container'] = "NAME/block-size" should not set the property value
  47. e.style['container'] = "block-size / block-size" should not set the property value
  48. e.style['container'] = "none / size style" should not set the property value
container-type-computed.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Property container-type value 'initial'
  2. Property container-type value 'unset'
  3. Property container-type value 'inline-size'
  4. Property container-type value 'size'
  5. Property container-type value 'normal'
container-type-parsing.html30 / 30 passingChrome 30 / 300 failedClean
Standing
Clean runner status OK
Chrome
Clean 30 / 30 WPT subtests passing runner status OK
30 passing subtests
  1. e.style['container-type'] = "initial" should set the property value
  2. e.style['container-type'] = "inherit" should set the property value
  3. e.style['container-type'] = "unset" should set the property value
  4. e.style['container-type'] = "revert" should set the property value
  5. e.style['container-type'] = "normal" should set the property value
  6. e.style['container-type'] = "size" should set the property value
  7. e.style['container-type'] = "inline-size" should set the property value
  8. e.style['container-type'] = "none" should not set the property value
  9. e.style['container-type'] = "auto" should not set the property value
  10. e.style['container-type'] = "block-size" should not set the property value
  11. e.style['container-type'] = "normal normal" should not set the property value
  12. e.style['container-type'] = "normal inline-size" should not set the property value
  13. e.style['container-type'] = "inline-size normal" should not set the property value
  14. e.style['container-type'] = "inline-size inline-size" should not set the property value
  15. e.style['container-type'] = "inline-size block-size" should not set the property value
  16. e.style['container-type'] = "block-size inline-size" should not set the property value
  17. e.style['container-type'] = "size inline-size" should not set the property value
  18. e.style['container-type'] = "inline-size size" should not set the property value
  19. e.style['container-type'] = "normal, normal" should not set the property value
  20. e.style['container-type'] = "foo" should not set the property value
  21. e.style['container-type'] = "\"foo\"" should not set the property value
  22. e.style['container-type'] = "foo, bar" should not set the property value
  23. e.style['container-type'] = "#fff" should not set the property value
  24. e.style['container-type'] = "1px" should not set the property value
  25. e.style['container-type'] = "default" should not set the property value
  26. e.style['container-type'] = "size nonsense" should not set the property value
  27. e.style['container-type'] = "style" should not set the property value
  28. e.style['container-type'] = "inline-size style" should not set the property value
  29. e.style['container-type'] = "style inline-size" should not set the property value
  30. e.style['container-type'] = "style size" should not set the property value

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.