input-image-content.html (441B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>Input type=image with CSS content.</title> 4 <link rel="author" href="mailto:masonf@chromium.org"> 5 <link rel="match" href="input-image-content-ref.html"> 6 7 You should see a red dot.<br> 8 <style> 9 input { 10 content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==); 11 } 12 </style> 13 14 <input type="image">