aboutsummaryrefslogtreecommitdiff
path: root/test/html/render/hr.ref.html
blob: 21064d9fe19f7390c0f3c35b102636fb5244623d (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
<!DOCTYPE html>
<html>
  <head>
    <title>Test hr length</title>
  </head>
<style>
div {
  border: 1px inset;
  margin-top: 5px;
  margin-bottom: 5px;
}
</style>
  <body>
    <!--
      Default canvas width is 780, with 5 pixels of margin for body on each
      side, so we have 770 pixels of space available before the scrollbar is
      shown. The ruler needs one pixel on each side by default, so 768 px is the
      available width.
    -->
    <div style="width: 768px"></div>
    <!-- Same but with 20 pixels for the ruler border -->
    <div style="width: 750px; border-width: 10px"></div>
  </body>
</html>