summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/thin-element-render-ref.html
blob: 0d5851d5544f9692d0761dc92c23b6b2b546b4d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>