diff options
Diffstat (limited to 'testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html')
-rw-r--r-- | testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html b/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html new file mode 100644 index 0000000000..e05ad84191 --- /dev/null +++ b/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<title>Input image type fallback content should respect display property.</title> +<meta name="author" title="Yu Han" href="mailto:yuzhehan@chromium.org"> +<link rel="match" href="input-image-inline-alt-ref.html"> +<link ref="help" href="https://html.spec.whatwg.org/multipage/rendering.html#images-3:represents-5"> +<style> + div { + border:1px dashed blue; + font: 1em monospace; + line-height: 1em; + height: 100px; + width: 150px; + } + input { + display: inline; + font: 1em monospace; + line-height: 1em; + } +</style> +<div> + <input alt="This is a long ALT text which takes up few lines to display." type="image"> + And additional text to be inlined. +</div> |