summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-position-relative-2-ref.html
blob: da2dd3e1c61cc42e948169c6a36c8947744c7e76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<title>Reference for legend position: relative</title>
<style>
#fieldset2 {
  background: lime;
  border: 2px solid lime;
  width: 200px;
  padding: 0;
  margin: 0;
}
#legend2 {
  background: #00ffff;
}
</style>
<p>"Legend" should be shown.</p>
<fieldset id="fieldset2"><legend id="legend2">Legend</legend></fieldset>