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 hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
option-element-constructor.html 10 / 11 passingChrome 11 / 111 failedWith failures
- ¶
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
- Option constructor with no arguments
- Option constructor with falsy arguments
- Option constructor creates HTMLOptionElement with specified text and value
- Option constructor handles selectedness correctly when specified with defaultSelected only
- Option constructor handles selectedness correctly, even when incongruous with defaultSelected
- Option constructor treats undefined text and value correctly
- Option constructor treats empty text and value correctly
- Option constructor treats falsy selected and defaultSelected correctly
- Option constructor treats truthy selected and defaultSelected correctly
- Prototype of object created with named constructor
option-form.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- form
option-index.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- option index should work inside the document
- option index should always be 0 for options in datalists
- option index should always be 0 for options with no container
- option index should always be 0 for options not even in the document
option-label.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- No children, no label
- No children, empty label
- No children, label
- No children, namespaced label
- Single child, no label
- Single child, empty label
- Single child, label
- Single child, namespaced label
- Two children, no label
- Two children, empty label
- Two children, label
- Two children, namespaced label
option-selected.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- not dirty
- dirty, selected
- dirty, not selected
option-text-backslash.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test for the backslash sign in option.text
option-text-label.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Option with non-empty label.
- Option with empty label.
option-text-recurse.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- option.text should recurse
- option.text should not recurse into HTML script elements
- option.text should not recurse into SVG script elements
- option.text should recurse into MathML script elements
- option.text should recurse into null script elements
- option.text should work if a child of the option ends with a script
- option.text should work if the option is in an HTML script element
- option.text should work if the option is in an SVG script element
- option.text should work if the option is in a MathML script element
- option.text should ignore comment children
- option.text should ignore PI children
option-text-setter.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Verify that using HTMLOptionElement.text setter does not update the existing text child node.
option-text-spaces.html 50 / 50 passingChrome 50 / 500 failedClean
50 passing subtests
- HTMLOptionElement.text
- option.text should strip leading space characters (" ")
- option.text should strip leading space characters ("\t")
- option.text should strip leading space characters ("\n")
- option.text should strip leading space characters ("\f")
- option.text should strip leading space characters ("\r")
- option.text should strip trailing space characters (" ")
- option.text should strip trailing space characters ("\t")
- option.text should strip trailing space characters ("\n")
- option.text should strip trailing space characters ("\f")
- option.text should strip trailing space characters ("\r")
- option.text should strip leading and trailing space characters (" ")
- option.text should strip leading and trailing space characters ("\t")
- option.text should strip leading and trailing space characters ("\n")
- option.text should strip leading and trailing space characters ("\f")
- option.text should strip leading and trailing space characters ("\r")
- option.text should replace single internal space characters (" ")
- option.text should replace single internal space characters ("\t")
- option.text should replace single internal space characters ("\n")
- option.text should replace single internal space characters ("\f")
- option.text should replace single internal space characters ("\r")
- option.text should replace multiple internal space characters (" ", " ")
- option.text should replace multiple internal space characters (" ", "\t")
- option.text should replace multiple internal space characters (" ", "\n")
- option.text should replace multiple internal space characters (" ", "\f")
- option.text should replace multiple internal space characters (" ", "\r")
- option.text should replace multiple internal space characters ("\t", " ")
- option.text should replace multiple internal space characters ("\t", "\t")
- option.text should replace multiple internal space characters ("\t", "\n")
- option.text should replace multiple internal space characters ("\t", "\f")
- option.text should replace multiple internal space characters ("\t", "\r")
- option.text should replace multiple internal space characters ("\n", " ")
- option.text should replace multiple internal space characters ("\n", "\t")
- option.text should replace multiple internal space characters ("\n", "\n")
- option.text should replace multiple internal space characters ("\n", "\f")
- option.text should replace multiple internal space characters ("\n", "\r")
- option.text should replace multiple internal space characters ("\f", " ")
- option.text should replace multiple internal space characters ("\f", "\t")
- option.text should replace multiple internal space characters ("\f", "\n")
- option.text should replace multiple internal space characters ("\f", "\f")
- option.text should replace multiple internal space characters ("\f", "\r")
- option.text should replace multiple internal space characters ("\r", " ")
- option.text should replace multiple internal space characters ("\r", "\t")
- option.text should replace multiple internal space characters ("\r", "\n")
- option.text should replace multiple internal space characters ("\r", "\f")
- option.text should replace multiple internal space characters ("\r", "\r")
- option.text should leave leading NBSP alone.
- option.text should leave trailing NBSP alone.
- option.text should leave a single internal NBSP alone.
- option.text should leave two internal NBSPs alone.
option-value.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- No children, no value
- No children, empty value
- No children, value
- No children, namespaced value
- Single child, no value
- Single child, empty value
- Single child, value
- Single child, namespaced value
- Two children, no value
- Two children, empty value
- Two children, value
- Two children, namespaced value