summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/thin-element-render-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-sizing/thin-element-render-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-sizing/thin-element-render-ref.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-sizing/thin-element-render-ref.html b/testing/web-platform/tests/css/css-sizing/thin-element-render-ref.html
new file mode 100644
index 0000000000..0d5851d554
--- /dev/null
+++ b/testing/web-platform/tests/css/css-sizing/thin-element-render-ref.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<title>Reference: Thin elements should paint even at small size</title>
+<link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org">
+<html>
+ <head>
+ <style>
+ .disappearing-border {
+ height:1px;
+ width:100%;
+ border-top:1px solid black;
+ }
+
+ .disappearing-box {
+ height:1px;
+ width:100%;
+ background-color: black;
+ }
+
+ body {
+ margin: 0px;
+ padding: 0px;
+ box-sizing: border-box;
+ }
+ </style>
+</head>
+<body>
+ <div class="disappearing-border"></div>
+ <div style="height:6.5px;"></div>
+ <div class="disappearing-box"></div>
+</body>
+</html> \ No newline at end of file