diff options
Diffstat (limited to 'testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-cr.html')
-rw-r--r-- | testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-cr.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-cr.html b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-cr.html new file mode 100644 index 000000000..f3150f25d --- /dev/null +++ b/testing/web-platform/tests/html/input/the-placeholder-attribute/multiline-cr.html @@ -0,0 +1 @@ +<!doctype html>
<html class="reftest-wait">
<meta charset="utf-8">
<title>input multiline placeholder (CRLF)</title>
<link rel="help" href="https://html.spec.whatwg.org/multipage/input.html#the-placeholder-attribute">
<meta name="assert" content="input element's placeholder strips newlines (CRLF)">
<link rel="match" href="/html/input/the-placeholder-attribute/multiline-ref.html">
<input placeholder="this is
a multiline
placeholder">
<input placeholder="this is
a multiline

placeholder">
<input id="dynamic">
<script>
document.querySelector("#dynamic")
.setAttribute("placeholder", "this is\ra multiline\r\rplaceholder");
document.documentElement.classList.remove("reftest-wait");
</script>
</html>
\ No newline at end of file |