Chromium Code Reviews| Index: LayoutTests/fast/replaced/image-map-on-inline-image.html |
| diff --git a/LayoutTests/fast/replaced/image-map-on-inline-image.html b/LayoutTests/fast/replaced/image-map-on-inline-image.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..035712cabf1f25bb82d969a142e75fc5fbc7efd2 |
| --- /dev/null |
| +++ b/LayoutTests/fast/replaced/image-map-on-inline-image.html |
| @@ -0,0 +1,15 @@ |
| +<style> |
|
pdr.
2015/05/25 21:41:42
Can you add a <!DOCTYPE HTML> here so we go down t
|
| +.img { border-style: outset; border-width: 50px; content: open-quote;} |
|
esprehn
2015/05/26 00:33:08
You can just do content: "", no need for quotes.
|
| +</style> |
| +<img usemap="#map" class="img"> |
| +<map name="map"><area shape="poly" coords="0,0,0,100,100,100,100,0"></map> |
| +<p>crbug.com/485414: Inline content data creating an inline image object shouldn't cause an ASSERT. Click on the rectangle to test. </p> |
| +<div id="result"Test passes if it does not crash.</div> |
|
pdr.
2015/05/25 21:41:42
Nit: missing '>': result">Test
|
| +<script> |
| +if (window.testRunner) { |
| + testRunner.dumpAsText(); |
| + eventSender.mouseMoveTo(20, 20); |
| + eventSender.mouseDown(); |
| + eventSender.mouseUp(); |
| +} |
| +</script> |