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> |