| object, img, input[type="image"], canvas, embed, iframe { |
| border: 10px solid rgba(0, 0, 0, 0.5); |
| background-clip: content-box; |
| border-radius: 100px 50px 10px; |
| testRunner.dumpAsText(true); |
| testRunner.setPluginsEnabled(false); |
| <!-- Replaced elements with border-radius should clip to the content edge curve. --> |
| // Disable plugins, because otherwise the "Test WebKit PlugIn" steals <embed>s referencing PNGs. |
| testRunner.setPluginsEnabled(false); |
| <object data="resources/square-blue-100x100.png"></object> |
| <canvas id="testCanvas"></canvas> |
| var ctx = testCanvas.getContext('2d'); |
| ctx.fillStyle = "rgb(0,0,255)"; |
| ctx.fillRect(0, 0, 1000, 1000); |
| <input type="image" src="resources/square-blue-100x100.png"> |
| <img src="resources/square-blue-100x100.png"> |
| <iframe src="resources/square-blue-100x100.png"></iframe> |
| <embed src="resources/square-blue-100x100.png"></embed> |