summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-size-fieldset-004-ref.html
blob: 59f7c7e2a78d5a859da92ddd1828e2af90bf50ba (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
37
38
39
40
41
<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Morgan Rae Reschenberg" href="mailto:mreschenberg@berkeley.edu">
  <style>
  .container {
    border: 10px solid green;
    display: inline-block;
  }
  .floatLBasic-ref {
    float: left;
  }
  .floatLWidth-ref {
    float: left;
    width: 30px;
  }
  .flexBaselineCheck {
    display: flex;
    align-items: baseline;
  }
  fieldset {
    border: none;
    color: transparent;
  }
  legend, .innerContents {
    width: 0;
    padding: 0;
  }
  </style>
</head>
<body>
  <div class="flexBaselineCheck">
  outside before<fieldset>
    <legend>l</legend>
    <div class="innerContents">i</div>
  </fieldset>outside after
  </div>
</body>
</html>