summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-break/relpos-inline-ref.html
blob: 8c19f1cf4c6c0173b45face28d624368d365ec70 (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
32
33
34
35
36
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<style>
  span {
      position: relative;
      left: -100px;
      top: 100px;
      border: 1px solid;
      background:hotpink;
  }
  .fakecol {
      float: left;
      width: 150px;
      height: 100%;
  }
</style>
<div style="line-height:30px; height:60px;">
  <div class="fakecol"></div>
  <div class="fakecol">
    <br>
    <span style="border-right:none;">
      line1<br>
    </span>
  </div>
  <div class="fakecol">
    <span style="border-left:none; border-right:none;">
      line2<br>
      line3<br>
    </span>
  </div>
  <div class="fakecol">
    <span style="border-left:none;">
      line4<br>
    </span>
  </div>
</div>