OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 .container { | 5 .container { |
6 transform: translateZ(0); | 6 transform: translateZ(0); |
7 position: absolute; | 7 position: absolute; |
8 top: 100px; | 8 top: 100px; |
9 left:100.5px; | 9 left:100.5px; |
10 background-color: red; | 10 background-color: red; |
(...skipping 21 matching lines...) Expand all Loading... |
32 <script> | 32 <script> |
33 // This test ensures that children of a composited element with a sub-pixel offs
et are properly repainted. | 33 // This test ensures that children of a composited element with a sub-pixel offs
et are properly repainted. |
34 // The box should have a fully green border. | 34 // The box should have a fully green border. |
35 if (window.testRunner) | 35 if (window.testRunner) |
36 testRunner.dumpAsTextWithPixelResults(); | 36 testRunner.dumpAsTextWithPixelResults(); |
37 function repaintTest() { | 37 function repaintTest() { |
38 var target = document.getElementById('target'); | 38 var target = document.getElementById('target'); |
39 target.classList.add('green'); | 39 target.classList.add('green'); |
40 } | 40 } |
41 </script> | 41 </script> |
OLD | NEW |