summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-outline/reference
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-outline/reference')
-rw-r--r--testing/web-platform/tests/css/css-outline/reference/subpixel-outline-width-ref.tentative.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-outline/reference/subpixel-outline-width-ref.tentative.html b/testing/web-platform/tests/css/css-outline/reference/subpixel-outline-width-ref.tentative.html
new file mode 100644
index 0000000000..28d84fabb7
--- /dev/null
+++ b/testing/web-platform/tests/css/css-outline/reference/subpixel-outline-width-ref.tentative.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>
+ CSS Outline: width computed value
+ </title>
+
+ <link rel="author" title="Traian Captan" href="mailto:tcaptan@chromium.org">
+
+ <style>
+ .square {
+ height: 20px;
+ width: 20px;
+ outline: 1px solid gray;
+ }
+ </style>
+</head>
+
+<body>
+ <h1>
+ Test passes if outline widths are rounded up
+ when they are greater than 0 and less than 1,
+ and rounded down when they are greater than 1.
+ </h1>
+
+ <div class="square"></div>
+ <br>
+ <div class="square"></div>
+ <br>
+ <div class="square"></div>
+ <br>
+ <div class="square"></div>
+ <br>
+ <div class="square"></div>
+ <br>
+ <div class="square"></div>
+ <br>
+ <div class="square" style="outline-width: 3px;"></div>
+ <br>
+ <div class="square" style="outline-width: 3px;"></div>
+ <br>
+ <div class="square" style="outline-width: 3px;"></div>
+</body>
+</html>