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

Unified Diff: LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-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
Index: LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent.html
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent.html b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent.html
new file mode 100644
index 0000000000000000000000000000000000000000..c61611422ce7aa60d75e703795111fee7a3e3958
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-viewport-with-template-parent.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function insert() {
+ document.getElementById('template').innerHTML = '<img src="./resources/blue_rect.jpg" sizes="50vw">';
+ }
+</script>
+<body onload="insert()">
+ <pre id="result">PASS - didn't crash.</pre>
+ <template id ="template"></template>
+</body>

Powered by Google App Engine
This is Rietveld 408576698