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

Unified Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash2.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
Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash2.html
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash2.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash2.html
new file mode 100644
index 0000000000000000000000000000000000000000..47a7d98f8c8cdbfe7c86b93c0d2aae09a1c39aac
--- /dev/null
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-line-height-crash2.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+* {
+ shape-outside: radial-gradient(circle, green 0px, transparent 40px);
+ font: normal small-caps bold calc( 9946% / -8855 + 9312 * 1774% )/calc( 9946% / -8855 + 9312 * 1774% ) sans-serif;
+ float: right;
+}
+</style>
+<body>
+ <p>This test passes if it doesn't crash.</p>
+</body>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+</script>

Powered by Google App Engine
This is Rietveld 408576698