summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/696739-1-ref.html
blob: 1001d88b7da3eec86ca6bc86c3ed674031ff9e5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<style>
fieldset {
  display: inline; background: rgba(255, 255, 0, 0.7); color: black;
}
div { background: green; position:relative; z-index:1; }
div#one { float: left; }
</style>
</head>
<body>
  <form>
    <fieldset>
      <div id="one">I should be black text on a green background</div>
    </fieldset>
    <fieldset>
      <div>I should be black text on a green background</div>
    </fieldset>
  </form>
</body>
</html>