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

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

Issue 54383006: Lift integer restriction on border-image-width and border-image-outset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@length-relative-die-step-4-4
Patch Set: Re-added reftest to test rendering 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-numbers-computed-style.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-numbers.html
diff --git a/LayoutTests/fast/borders/border-image-width-numbers.html b/LayoutTests/fast/borders/border-image-width-numbers.html
new file mode 100644
index 0000000000000000000000000000000000000000..de30579d26f639abeb7442df4cc908d4d79cda66
--- /dev/null
+++ b/LayoutTests/fast/borders/border-image-width-numbers.html
@@ -0,0 +1,29 @@
+<!doctype html>
+<html>
+<head>
+ <title>Test that numbers in border-image-width are rendered correctly</title>
+ <style>
+ .ref {
+ background: red;
+ width: 140px;
+ height: 140px;
+ position: absolute;
+ z-index: -1;
+ }
+ .test {
+ border-style: solid;
+ border-width: 20px;
+ border-image-width: 0 3.5;
+ border-image-slice: 21 30 30 21;
+ border-image-source: url(../css/resources/greenbox-100px.png);
+ width: 100px;
+ height: 100px;
+ }
+ </style>
+</head>
+<body>
+ <div class="ref"></div>
+ <div class="test"></div>
+ <p>There should be a green box above.</p>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/borders/border-image-width-numbers-computed-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698