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

Unified Diff: third_party/WebKit/LayoutTests/fast/box-shadow/degenerate-radius-crash.html

Issue 1438043012: Avoid int coercion of box-shadow args (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac theme update, subpixel test Created 5 years, 1 month 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: third_party/WebKit/LayoutTests/fast/box-shadow/degenerate-radius-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/box-shadow/degenerate-radius-crash.html b/third_party/WebKit/LayoutTests/fast/box-shadow/degenerate-radius-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..9763d32b6a0273f48b7c54852f842eb0fbd7eb44
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/box-shadow/degenerate-radius-crash.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<head>
+
+<style>
+div {
+ width: 200px;
+ height: 100px;
+}
+
+.negative {
+ box-shadow: 3px 3px -10px;
+}
+
+.negative-inset {
+ box-shadow: 3px 3px -10px inset;
+}
+
+.overflow {
+ box-shadow: 3px 3px 100000000000000000000000000px;
+}
+
+.overflow-inset {
+ box-shadow: 3px 3px 100000000000000000000000000px inset;
+}
+
+</style>
+</head>
+
+<body>
+ <!-- Test for crbug.com/424119 -->
+ <div class="negative"></div>
+ <div class="negative-inset"></div>
+ <div class="overflow"></div>
+ <div class="overflow-inset"></div>
+
+ PASS: did not crash.
+
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698