| <!DOCTYPE html> |
| <html> |
| <head> |
| <style> |
| td { |
| border: 1px solid #f90; padding: 0px; |
| } |
| </style> |
| <script> |
| function loadAndStall() |
| { |
| return "http://127.0.0.1:8000/resources/load-and-stall.py"; |
| } |
| |
| function pngImage() |
| { |
| return "?name=../../../fast/css/resources/bikes.bmp&mimeType=image%bmp"; |
| } |
| |
| function runTest() |
| { |
| var images = document.querySelectorAll("img"); |
| for (var i = 0, len = images.length; i < len; i++) { |
| var image = images[i]; |
| image.src = loadAndStall() + pngImage() + "&stallAt=0&stallFor=0"; |
| } |
| } |
| </script> |
| </head> |
| <body> |
| <p> https://bugs.webkit.org/show_bug.cgi?id=108357: There should be no space between the top of the image and the orange border.</p> |
| <table> |
| <tbody> |
| <tr> |
| <td><img></td><td><video autoplay></video></td> |
| </tr> |
| <tr> |
| <td><img></td><td><video autoplay></video></td> |
| </tr> |
| </tbody> |
| <script>runTest();</script> |
| </table> |
| </body> |
| </html> |
| |