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

Unified Diff: LayoutTests/animations/zoomed-length-crash.html

Issue 1193203003: Keep effectiveZoom finite (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reduced clamp range; Remove clamp in CSSToLength... Created 5 years, 6 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/animations/zoomed-length-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/zoomed-length-crash.html
diff --git a/LayoutTests/animations/zoomed-length-crash.html b/LayoutTests/animations/zoomed-length-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..a10f7d366cd8a0005992ecdfc7e4315edd4dc8ee
--- /dev/null
+++ b/LayoutTests/animations/zoomed-length-crash.html
@@ -0,0 +1,24 @@
+<style>
+#target {
+ animation: anim 1s -0.25s step-start paused;
+}
+@keyframes anim {
+ 50% {
+ left: 1000px;
+ }
+}
+* { zoom: 6318030279180000000; }
+</style>
+<div id=target></div>
+<p>PASS if no crash.</p>
+<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
+target.addEventListener('animationstart', function() {
+ getComputedStyle(target).left;
+ if (window.testRunner)
+ testRunner.notifyDone();
+});
+</script>
« no previous file with comments | « no previous file | LayoutTests/animations/zoomed-length-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698