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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html

Issue 1916693002: Rewrite overhanging float arithmetic to work near numeric limits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html b/third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..c7baeac39f158a8bd353401bb3564fe94edd4f98
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+* {
+ height: 4px;
+}
+span {
+ float: left;
+ box-shadow: 1px 1px 1e8px red;
+}
+div {
+ margin-top: 1e8px;
+}
+</style>
+<div></div><span></span>
+<script>
+ // Test for https://crbug.com/604331: this test passes if it does not crash.
+ document.documentElement.appendChild(document.createTextNode('PASS'));
+
+ if (testRunner)
+ testRunner.dumpAsText();
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/block/float/overhanging-float-overflow-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698