css/css-values/calc-size/

63 / 101 WPT subtests passing

Failed
38
Timed out
0
Not run
0
Test files
3
Blocking files
0

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

Tests

3 test files here

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

Test fileSubtests passingChromeFailedStanding
calc-size-parsing.html56 / 94 passingChrome 94 / 9438 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 94 / 94 WPT subtests passing runner status OK
  1. FAILe.style['width'] = "calc-size(auto, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  2. FAILe.style['min-width'] = "calc-size(auto, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  3. FAILe.style['height'] = "calc-size(auto, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  4. FAILe.style['min-height'] = "calc-size(auto, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  5. FAILe.style['width'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  6. FAILe.style['height'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  7. FAILe.style['max-width'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  8. FAILe.style['max-height'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  9. FAILe.style['min-width'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  10. FAILe.style['min-height'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  11. FAILe.style['block-size'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  12. FAILe.style['inline-size'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  13. FAILe.style['max-block-size'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  14. FAILe.style['max-inline-size'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  15. FAILe.style['min-block-size'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  16. FAILe.style['min-inline-size'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  17. FAILe.style['width'] = "calc-size(fit-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  18. FAILe.style['height'] = "calc-size(min-content, size * 2)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  19. FAILe.style['max-width'] = "calc-size(max-content, size / 2)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  20. FAILe.style['max-height'] = "calc-size(fit-content, 30px + size / 2)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  21. FAILe.style['width'] = "calc-size(fit-content, 50% + size / 2)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  22. FAILe.style['width'] = "calc-size(any, 25em)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  23. FAILe.style['width'] = "calc-size(any, 40%)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  24. FAILe.style['width'] = "calc-size(any, 50px + 30%)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  25. FAILe.style['width'] = "calc-size(calc-size(any, 30px), size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  26. FAILe.style['width'] = "calc-size(10px, sign(size) * size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  27. FAILe.style['width'] = "calc-size(30px, 25em)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  28. FAILe.style['width'] = "calc-size(calc-size(any, 30px), 25em)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  29. FAILe.style['width'] = "calc-size(calc-size(2in, 30px), 25em)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  30. FAILe.style['width'] = "calc-size(calc-size(min-content, 30px), 25em)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  31. FAILe.style['width'] = "calc-size(calc-size(min-content, size), size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  32. FAILe.style['flex-basis'] = "calc-size(any, 50px)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  33. FAILe.style['flex-basis'] = "calc-size(auto, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  34. FAILe.style['flex-basis'] = "calc-size(min-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  35. FAILe.style['flex-basis'] = "calc-size(max-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  36. FAILe.style['flex-basis'] = "calc-size(fit-content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  37. FAILe.style['flex-basis'] = "calc-size(content, size)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
  38. FAILe.style['width'] = "calc-size(0px, 0px)" should set the property value
    assert_not_equals: property should be set got disallowed value ""
56 passing subtests
  1. e.style['max-height'] = "calc-size(auto, size)" should not set the property value
  2. e.style['max-width'] = "calc-size(auto, size)" should not set the property value
  3. e.style['height'] = "calc-size(none, size)" should not set the property value
  4. e.style['width'] = "calc-size(none, size)" should not set the property value
  5. e.style['min-height'] = "calc-size(none, size)" should not set the property value
  6. e.style['min-width'] = "calc-size(none, size)" should not set the property value
  7. e.style['max-height'] = "calc-size(none, size)" should not set the property value
  8. e.style['max-width'] = "calc-size(none, size)" should not set the property value
  9. e.style['width'] = "calc-size(any, size)" should not set the property value
  10. e.style['width'] = "calc-size(any, fit-content)" should not set the property value
  11. e.style['width'] = "calc-size(any, max-content)" should not set the property value
  12. e.style['width'] = "calc-size(any, min-content)" should not set the property value
  13. e.style['width'] = "size" should not set the property value
  14. e.style['width'] = "sign(size)" should not set the property value
  15. e.style['width'] = "calc(50px * sign(size))" should not set the property value
  16. e.style['width'] = "calc-size(any, calc-size(10px, sign(size) * size))" should not set the property value
  17. e.style['width'] = "calc-size(any, calc-size(any, 10px))" should not set the property value
  18. e.style['width'] = "calc(calc-size(auto, size))" should not set the property value
  19. e.style['width'] = "calc(50px * sign(calc-size(auto, size)))" should not set the property value
  20. e.style['width'] = "calc(calc-size(auto, size) + calc-size(auto, size))" should not set the property value
  21. e.style['width'] = "calc(abs(calc-size(auto, size)))" should not set the property value
  22. e.style['width'] = "calc(100px * progress(calc-size(auto, size) from calc-size(auto, 0px) to calc-size(auto, size)))" should not set the property value
  23. e.style['width'] = "calc(100px * progress(calc-size(auto, size) from 0px to 100px))" should not set the property value
  24. e.style['width'] = "calc(100px * progress(50px from calc-size(auto, 0px) to calc-size(auto, size)))" should not set the property value
  25. e.style['width'] = "min(calc-size(auto, 0px), calc-size(auto, size))" should not set the property value
  26. e.style['width'] = "calc(min(calc-size(auto, 0px), calc-size(auto, size)))" should not set the property value
  27. e.style['width'] = "max(calc-size(auto, 0px), calc-size(auto, size))" should not set the property value
  28. e.style['width'] = "calc(max(calc-size(auto, 0px), calc-size(auto, size)))" should not set the property value
  29. e.style['width'] = "clamp(calc-size(auto, 0px), calc-size(auto, 30px), calc-size(auto, size))" should not set the property value
  30. e.style['width'] = "calc(clamp(calc-size(auto, 0px), calc-size(auto, 30px), calc-size(auto, size)))" should not set the property value
  31. e.style['width'] = "calc(cos(calc-size(auto, 0px)))" should not set the property value
  32. e.style['width'] = "calc(atan2(calc-size(auto, size), calc-size(auto, 50px)))" should not set the property value
  33. e.style['width'] = "calc(sqrt(calc-size(auto, 0px)))" should not set the property value
  34. e.style['width'] = "calc(hypot(calc-size(auto, size * 0.5), calc-size(auto, size)))" should not set the property value
  35. e.style['width'] = "calc(round(calc-size(auto, size * 0.5), calc-size(auto, size)))" should not set the property value
  36. e.style['width'] = "calc(round(calc-size(auto, size * 0.5)))" should not set the property value
  37. e.style['width'] = "calc(mod(calc-size(auto, size * 0.5), calc-size(auto, size)))" should not set the property value
  38. e.style['width'] = "calc(rem(calc-size(auto, size * 0.5), calc-size(auto, size)))" should not set the property value
  39. e.style['height'] = "calc(12% + calc-size(any, 31%))" should not set the property value
  40. e.style['width'] = "calc-size(30px)" should not set the property value
  41. e.style['width'] = "calc-size(min(30px, 2em))" should not set the property value
  42. e.style['width'] = "calc-size(any)" should not set the property value
  43. e.style['width'] = "calc-size(calc-size(any, 30px))" should not set the property value
  44. e.style['width'] = "calc-size(size)" should not set the property value
  45. e.style['width'] = "calc-size(fit-content)" should not set the property value
  46. e.style['width'] = "calc-size(calc-size(fit-content, size * 2))" should not set the property value
  47. e.style['width'] = "calc-size(calc-size(30px))" should not set the property value
  48. e.style['width'] = "calc-size(content, size)" should not set the property value
  49. e.style['height'] = "calc-size(content, size)" should not set the property value
  50. e.style['max-width'] = "calc-size(content, size)" should not set the property value
  51. e.style['max-height'] = "calc-size(content, size)" should not set the property value
  52. e.style['min-width'] = "calc-size(content, size)" should not set the property value
  53. e.style['min-height'] = "calc-size(content, size)" should not set the property value
  54. e.style['width'] = "calc-size(0, 0px)" should not set the property value
  55. e.style['width'] = "calc-size(0px, 0)" should not set the property value
  56. e.style['width'] = "calc-size(0, 0)" should not set the property value
interpolate-size-computed.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Property interpolate-size value 'numeric-only'
  2. Property interpolate-size value 'allow-keywords'
interpolate-size-parsing.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. e.style['interpolate-size'] = "numeric-only" should set the property value
  2. e.style['interpolate-size'] = "allow-keywords" should set the property value
  3. e.style['interpolate-size'] = "auto" should not set the property value
  4. e.style['interpolate-size'] = "none" should not set the property value
  5. e.style['interpolate-size'] = "100%" 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.