| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 div { | 5 div { |
| 6 width: 160px; | 6 width: 160px; |
| 7 height: 160px; | 7 height: 160px; |
| 8 -webkit-transform: rotateY(30deg) rotateX(-30deg); | 8 transform: rotateY(30deg) rotateX(-30deg); |
| 9 background-blend-mode: difference; | 9 background-blend-mode: difference; |
| 10 color: black; | 10 color: black; |
| 11 } | 11 } |
| 12 | 12 |
| 13 .a { | 13 .a { |
| 14 background: url('resources/white_square.svg') no-repeat, rgba(55, 55, 99
, 1); | 14 background: url('resources/white_square.svg') no-repeat, rgba(55, 55, 99
, 1); |
| 15 } | 15 } |
| 16 | 16 |
| 17 .b, .c { | 17 .b, .c { |
| 18 width: 120px; | 18 width: 120px; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 <!-- Parent and two children, all accelerated, all having background-blend-m
ode set and some text. None of the elements should blend with any of the others.
The text should keep its color. --> | 40 <!-- Parent and two children, all accelerated, all having background-blend-m
ode set and some text. None of the elements should blend with any of the others.
The text should keep its color. --> |
| 41 <div class="a">sample<div class="b">sample</div>sample<div class="c">sample<
/div></div> | 41 <div class="a">sample<div class="b">sample</div>sample<div class="c">sample<
/div></div> |
| 42 | 42 |
| 43 <!-- Parent and two children, all accelerated, all having background-blend-m
ode set and some text. The second child has z-index set, causing it to be painte
d below the first child. None of the elements should blend with any of the other
s. The text should keep its color. --> | 43 <!-- Parent and two children, all accelerated, all having background-blend-m
ode set and some text. The second child has z-index set, causing it to be painte
d below the first child. None of the elements should blend with any of the other
s. The text should keep its color. --> |
| 44 <div class="a">sample | 44 <div class="a">sample |
| 45 <div class="b">sample</div> | 45 <div class="b">sample</div> |
| 46 <div class="c" style="position:absolute; z-index: -1">sample sample samp
le sample sample sample sample sample sample sample sample sample</div> | 46 <div class="c" style="position:absolute; z-index: -1">sample sample samp
le sample sample sample sample sample sample sample sample sample</div> |
| 47 </div> | 47 </div> |
| 48 </body> | 48 </body> |
| OLD | NEW |