Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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">