Ticket #12511: test.html

File test.html, 591 bytes (added by achmafooma, 4 years ago)

example HTML exhibiting this bug

Line 
1<html>
2<head>
3<title>TesterPage</title>
4<style>
5.surround {
6 margin: 20px;
7 padding: 20px;
8 background: black;
9}
10.surround .internal {
11 padding: 20px;
12 opacity: .95;
13 background: #fff;
14 color: #000;
15}
16.surround .internal.nopacity {
17 opacity: 1;
18}
19</style>
20</head>
21<body>
22<div class="surround">
23<div class="internal">
24This text is black (#000;) so it should be clearly visible; div is set to .75 opacity.
25</div>
26</div>
27<div class="surround">
28<div class="internal nopacity">
29This div has the same background and text color as the one above, but with no opacity.
30</div>
31</div>
32</body>
33</html>