summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/legend-position-relative-2.html
blob: 3fbdbd5c2065addbbcd66a27de83406c7f1d4aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<title>legend position: relative</title>
<link ref=help href="http://crbug.com/1151295">
<link rel=match href=legend-position-relative-2-ref.html>
<style>
#fieldset2 {
  background: lime;
  border: 2px solid lime;
  width: 200px;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
#legend2 {
  position: relative;
  overflow: hidden;
  background: #00ffff;
}
</style>
<p>"Legend" should be shown.</p>
<fieldset id="fieldset2"><legend id="legend2">Legend</legend></fieldset>