html/semantics/forms/the-option-element/

107 / 108 WPT subtests passing

Failed
1
Timed out
0
Not run
0
Test files
11
Blocking files
0

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

Tests

11 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
option-element-constructor.html10 / 11 passingChrome 11 / 111 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 11 / 11 WPT subtests passing runner status OK
  1. FAILOption constructor does not set dirtiness (so, manipulating the selected content attribute still updates the selected IDL attribute)
    assert_false: expected false got true
10 passing subtests
  1. Option constructor with no arguments
  2. Option constructor with falsy arguments
  3. Option constructor creates HTMLOptionElement with specified text and value
  4. Option constructor handles selectedness correctly when specified with defaultSelected only
  5. Option constructor handles selectedness correctly, even when incongruous with defaultSelected
  6. Option constructor treats undefined text and value correctly
  7. Option constructor treats empty text and value correctly
  8. Option constructor treats falsy selected and defaultSelected correctly
  9. Option constructor treats truthy selected and defaultSelected correctly
  10. Prototype of object created with named constructor
option-form.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. form
option-index.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. option index should work inside the document
  2. option index should always be 0 for options in datalists
  3. option index should always be 0 for options with no container
  4. option index should always be 0 for options not even in the document
option-label.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. No children, no label
  2. No children, empty label
  3. No children, label
  4. No children, namespaced label
  5. Single child, no label
  6. Single child, empty label
  7. Single child, label
  8. Single child, namespaced label
  9. Two children, no label
  10. Two children, empty label
  11. Two children, label
  12. Two children, namespaced label
option-selected.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. not dirty
  2. dirty, selected
  3. dirty, not selected
option-text-backslash.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test for the backslash sign in option.text
option-text-label.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. Option with non-empty label.
  2. Option with empty label.
option-text-recurse.html11 / 11 passingChrome 11 / 110 failedClean
Standing
Clean runner status OK
Chrome
Clean 11 / 11 WPT subtests passing runner status OK
11 passing subtests
  1. option.text should recurse
  2. option.text should not recurse into HTML script elements
  3. option.text should not recurse into SVG script elements
  4. option.text should recurse into MathML script elements
  5. option.text should recurse into null script elements
  6. option.text should work if a child of the option ends with a script
  7. option.text should work if the option is in an HTML script element
  8. option.text should work if the option is in an SVG script element
  9. option.text should work if the option is in a MathML script element
  10. option.text should ignore comment children
  11. option.text should ignore PI children
option-text-setter.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Verify that using HTMLOptionElement.text setter does not update the existing text child node.
option-text-spaces.html50 / 50 passingChrome 50 / 500 failedClean
Standing
Clean runner status OK
Chrome
Clean 50 / 50 WPT subtests passing runner status OK
50 passing subtests
  1. HTMLOptionElement.text
  2. option.text should strip leading space characters (" ")
  3. option.text should strip leading space characters ("\t")
  4. option.text should strip leading space characters ("\n")
  5. option.text should strip leading space characters ("\f")
  6. option.text should strip leading space characters ("\r")
  7. option.text should strip trailing space characters (" ")
  8. option.text should strip trailing space characters ("\t")
  9. option.text should strip trailing space characters ("\n")
  10. option.text should strip trailing space characters ("\f")
  11. option.text should strip trailing space characters ("\r")
  12. option.text should strip leading and trailing space characters (" ")
  13. option.text should strip leading and trailing space characters ("\t")
  14. option.text should strip leading and trailing space characters ("\n")
  15. option.text should strip leading and trailing space characters ("\f")
  16. option.text should strip leading and trailing space characters ("\r")
  17. option.text should replace single internal space characters (" ")
  18. option.text should replace single internal space characters ("\t")
  19. option.text should replace single internal space characters ("\n")
  20. option.text should replace single internal space characters ("\f")
  21. option.text should replace single internal space characters ("\r")
  22. option.text should replace multiple internal space characters (" ", " ")
  23. option.text should replace multiple internal space characters (" ", "\t")
  24. option.text should replace multiple internal space characters (" ", "\n")
  25. option.text should replace multiple internal space characters (" ", "\f")
  26. option.text should replace multiple internal space characters (" ", "\r")
  27. option.text should replace multiple internal space characters ("\t", " ")
  28. option.text should replace multiple internal space characters ("\t", "\t")
  29. option.text should replace multiple internal space characters ("\t", "\n")
  30. option.text should replace multiple internal space characters ("\t", "\f")
  31. option.text should replace multiple internal space characters ("\t", "\r")
  32. option.text should replace multiple internal space characters ("\n", " ")
  33. option.text should replace multiple internal space characters ("\n", "\t")
  34. option.text should replace multiple internal space characters ("\n", "\n")
  35. option.text should replace multiple internal space characters ("\n", "\f")
  36. option.text should replace multiple internal space characters ("\n", "\r")
  37. option.text should replace multiple internal space characters ("\f", " ")
  38. option.text should replace multiple internal space characters ("\f", "\t")
  39. option.text should replace multiple internal space characters ("\f", "\n")
  40. option.text should replace multiple internal space characters ("\f", "\f")
  41. option.text should replace multiple internal space characters ("\f", "\r")
  42. option.text should replace multiple internal space characters ("\r", " ")
  43. option.text should replace multiple internal space characters ("\r", "\t")
  44. option.text should replace multiple internal space characters ("\r", "\n")
  45. option.text should replace multiple internal space characters ("\r", "\f")
  46. option.text should replace multiple internal space characters ("\r", "\r")
  47. option.text should leave leading NBSP alone.
  48. option.text should leave trailing NBSP alone.
  49. option.text should leave a single internal NBSP alone.
  50. option.text should leave two internal NBSPs alone.
option-value.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. No children, no value
  2. No children, empty value
  3. No children, value
  4. No children, namespaced value
  5. Single child, no value
  6. Single child, empty value
  7. Single child, value
  8. Single child, namespaced value
  9. Two children, no value
  10. Two children, empty value
  11. Two children, value
  12. Two children, namespaced 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.