diff options
Diffstat (limited to 'testing/web-platform/tests/html/rendering/replaced-elements/the-option-element/option-with-br-ref.html')
-rw-r--r-- | testing/web-platform/tests/html/rendering/replaced-elements/the-option-element/option-with-br-ref.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/rendering/replaced-elements/the-option-element/option-with-br-ref.html b/testing/web-platform/tests/html/rendering/replaced-elements/the-option-element/option-with-br-ref.html new file mode 100644 index 0000000000..954840f389 --- /dev/null +++ b/testing/web-platform/tests/html/rendering/replaced-elements/the-option-element/option-with-br-ref.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>option element with br child</title> +<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me"> +<link rel="help" href="https://html.spec.whatwg.org/multipage/#concept-option-label"> +<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-option-text"> +<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-select-element-2"> + +<p>This test passes if the option element displays three options:</p> + +<pre>a +b +ab</pre> + +<p>Importantly the third option must not be split across two lines.</p> + +<select multiple> + <option>a</option> + <option>b</option> + <option>ab</option> +</select> |