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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash.html

Issue 1016863002: Fix integer overflow in ComputedStyle::computedLineHeight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Clamp explicitly Created 5 years, 8 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/shapes/shape-outside-floats/shape-outside-line-height-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..550a3a5a4c4f20581396d6be23b5a10da2211f8f
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+* {
+ shape-outside: radial-gradient(circle, green 0px, transparent 40px);
+ font: normal small-caps bold 1234567890px / 100000000% sans-serif;
+ float: right;
+}
+</style>
+<body>
+ <p>This test passes if it doesn't crash.</p>
+</body>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698