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

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: 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..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>
« 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