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

Unified Diff: LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-new-image-and-template-parent.html

Issue 653023002: ASSERTION FAILED: factor > 0 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/dom/HTMLImageElement/image-sizes-viewport-with-new-image-and-template-parent-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-new-image-and-template-parent.html
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-new-image-and-template-parent.html b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-new-image-and-template-parent.html
new file mode 100644
index 0000000000000000000000000000000000000000..44826860502525e665bcdb54b4c4713ef488e467
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-new-image-and-template-parent.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function insert() {
+ var img = new Image();
+ var template = document.getElementById('template');
+
+ img.src = 'resources/blue_rect.jpg';
+ img.sizes = '50vw';
+
+ template.appendChild(img);
+ }
+</script>
+<body onload="insert()">
+ <pre id="result">PASS - didn't crash.</pre>
+ <template id ="template"></template>
+</body>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-new-image-and-template-parent-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698