Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Unified Diff: LayoutTests/fast/replaced/image-map-on-inline-image.html

Issue 1146073003: Image elements can have inline layout objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/replaced/image-map-on-inline-image-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2d61cebe651238ae7e304b0a698d172031cbba42
--- /dev/null
+++ b/LayoutTests/fast/replaced/image-map-on-inline-image.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+.img { border-style: outset; border-width: 50px; content: "";}
+</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>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ eventSender.mouseMoveTo(20, 20);
+ eventSender.mouseDown();
+ eventSender.mouseUp();
+}
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/replaced/image-map-on-inline-image-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698