| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>CSS Reftest Reference</title> |
| <link rel="author" title="Mihai Balan" href="mailto:mibalan@adobe.com"> |
| <style> |
| #content { |
| font-family: Ahem; |
| font-size: 20px; |
| line-height: 1em; |
| } |
| .translucent { |
| color: #5555FF; |
| opacity: 0.5; |
| } |
| .opaque { |
| color: blue; |
| /*a light-ish blue, to give us a nice purple when alpha-blended with red*/ |
| opacity: 1; |
| } |
| #region { |
| width: 100px; |
| height: 180px; |
| background-color: red; |
| } |
| </style> |
| </head> |
| <body> |
| <ol> |
| <li>You should see no red.</li> |
| <li>Test passes if you see four alternating purple and blue rectangles below.</li> |
| </ol> |
| <div id="region"> |
| <div id="content"> |
| <div class="translucent"> |
| xxxxx<br>xxxxx<br>xxxxx |
| </div> |
| <div class="opaque"> |
| xxxxx<br>xxxxx<br>xxxxx |
| </div> |
| <div class="translucent"> |
| xxxxx<br>xxxxx<br>xxxxx |
| </div> |
| <div class="opaque"> |
| xxxxx<br>xxxxx<br>xxxxx |
| </div> |
| </div> |
| </div> |
| </body> |
| </html> |