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

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-repeat-space-zero-tile-size.html

Issue 1812893002: Fix the check for divide-by-zero in background image tiling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/backgrounds/background-repeat-space-zero-tile-size-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/backgrounds/background-repeat-space-zero-tile-size.html
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/background-repeat-space-zero-tile-size.html b/third_party/WebKit/LayoutTests/fast/backgrounds/background-repeat-space-zero-tile-size.html
new file mode 100644
index 0000000000000000000000000000000000000000..35851ab0767d028f87986f62dd3e9ad4cc2528dd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/background-repeat-space-zero-tile-size.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<!--- Verify that we correctly handle zero computed tile size with background-repeat: space. -->
+<html>
+<head>
+<style>
+ * { padding-bottom: 0.25px;
+ background: radial-gradient(59em circle at bottom 45px right 61%, rgb(238, 72, 15), rgb(9, 47, 198));
+ }
+ .space { background-repeat: space; }
+</style>
+</head>
+<div class="space"></div>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/backgrounds/background-repeat-space-zero-tile-size-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698