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

Unified Diff: LayoutTests/svg/zoom/large-zoom-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
Index: LayoutTests/svg/zoom/large-zoom-crash.html
diff --git a/LayoutTests/svg/text/unpaired-surrogate-crash.html b/LayoutTests/svg/zoom/large-zoom-crash.html
similarity index 50%
copy from LayoutTests/svg/text/unpaired-surrogate-crash.html
copy to LayoutTests/svg/zoom/large-zoom-crash.html
index fe4ba78b7242a11c8b80f5ffad01af707aaabc6a..e510044d806a2b439a24f9c63ea65c169ca5f8dd 100644
--- a/LayoutTests/svg/text/unpaired-surrogate-crash.html
+++ b/LayoutTests/svg/zoom/large-zoom-crash.html
@@ -1,9 +1,13 @@
<!DOCTYPE html>
+<style>
+html, body, svg {
+ zoom: 9223372036854775790;
+}
+</style>
<svg>
- <text y="20"></text>
+<text>PASS if no crash.</text>
</svg>
<script>
if (window.testRunner)
testRunner.dumpAsText();
-document.querySelector('text').textContent = 'PASS\ud9e8';
</script>
« no previous file with comments | « LayoutTests/animations/zoomed-length-crash-expected.txt ('k') | LayoutTests/svg/zoom/large-zoom-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698