summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/input-image-inline-alt-ref.html
blob: b3fdc14ef1707fcaad2b584b98e5c8f6d0be1e17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<title>Input image type fallback content should respect display property.</title>
<meta name="author" title="Yu Han" href="mailto:yuzhehan@chromium.org">
<style>
  div {
    border:1px dashed blue;
    line-height: 1em;
    height: 100px;
    width: 150px;
  }
  input {
    font: 1em monospace;
    line-height: 1em;
  }
</style>
<div>
  <input alt="This is a long ALT text which takes up few lines to display. And additional text to be inlined." type="image">
</div>