summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/replaced-elements/images/input-image-content.html
blob: 5376e8033ffe30027fdd988f5e0ffa9c62316420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<meta charset="utf-8">
<title>Input type=image with CSS content.</title>
<link rel="author" href="mailto:masonf@chromium.org">
<link rel="match"  href="input-image-content-ref.html">

You should see a red dot.<br>
<style>
  input {
    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==);
  }
</style>

<input type="image">