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

Unified Diff: LayoutTests/fast/borders/border-image-width-rounding.html

Issue 81163002: Test rendering of non-integer border-image-width values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test description in output. Created 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/borders/border-image-width-rounding-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/borders/border-image-width-rounding.html
diff --git a/LayoutTests/fast/borders/border-image-width-rounding.html b/LayoutTests/fast/borders/border-image-width-rounding.html
new file mode 100644
index 0000000000000000000000000000000000000000..81a3f8b434d08d55fd40c3d12aba7d192a5cebd5
--- /dev/null
+++ b/LayoutTests/fast/borders/border-image-width-rounding.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+ <head>
+ <title>Test non-integer border-image-width</title>
+ <style>
+ .test {
+ border-style: solid;
+ border-width: 1px;
+ border-image-width: 1.9;
+ border-image-source: linear-gradient(to bottom, green, green);
+ border-image-slice: 10;
+ width: 100px;
+ height: 100px;
+ }
+ </style>
+ </head>
+ <body>
+ <p>
+ Test that border-image-width is rounded/truncated in the same
+ way as border-width. There should be a green border around a
+ 100x100 square below.
+ </p>
+ <div class="test"></div>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/borders/border-image-width-rounding-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698