mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-06-12 05:28:38 +00:00
833be88a6d
Note: MANIFEST updated per the normal procedure using `mach wpt-manifest-update` lint.whitelist updated to reflect intentional use of CR in these tests. Resolves #977
20 lines
716 B
HTML
20 lines
716 B
HTML
<!doctype html>
|
|
<html class="reftest-wait">
|
|
<meta charset="utf-8">
|
|
<title>input multiline placeholder</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">
|
|
<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\na multiline\n\nplaceholder");
|
|
document.documentElement.classList.remove("reftest-wait");
|
|
</script>
|
|
</html>
|