summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/border-width-pixel-snapping-001-a.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/border-width-pixel-snapping-001-a.html')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/border-width-pixel-snapping-001-a.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/border-width-pixel-snapping-001-a.html b/testing/web-platform/tests/css/css-backgrounds/border-width-pixel-snapping-001-a.html
new file mode 100644
index 0000000000..664e652c2b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/border-width-pixel-snapping-001-a.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Backgrounds and Borders Test: border-width pixel snapping</title>
+<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
+<link rel="help" href="https://drafts.csswg.org/css-ui/#outline-width">
+<link rel="mismatch" href="reference/border-width-pixel-snapping-001-ref.html">
+<meta name="assert" content="Test checks that outline-width is floored down when it needs to do pixel snapping (so 1.9px are not the same than 2px).">
+<div style="border: 1.9px solid black; width: 100.2px; height: 100.2px;"></div>