OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <!-- Test CSS clip and shadow with composited layers. Left and right sides | 3 <!-- Test CSS clip and shadow with composited layers. Left and right sides |
4 should have the same shape. In old code where this caused a bug, | 4 should have the same shape. In old code where this caused a bug, |
5 crbug.com/246728, shadows cause a slightly different code path than | 5 crbug.com/246728, shadows cause a slightly different code path than |
6 clip.html without shadow. In this test, the clip is still larger than the | 6 clip.html without shadow. In this test, the clip is still larger than the |
7 shadow's extent; The composited layer should not clamp to the shadow's | 7 shadow's extent; The composited layer should not clamp to the shadow's |
8 extent (1 pixel), it should include the full extent of the clip as well (5 | 8 extent (1 pixel), it should include the full extent of the clip as well (5 |
9 pixels). --> | 9 pixels). --> |
10 | 10 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 <div class="box" style="left: 220px;"> | 65 <div class="box" style="left: 220px;"> |
66 <div class="composited inner"> | 66 <div class="composited inner"> |
67 </div> | 67 </div> |
68 </div> | 68 </div> |
69 | 69 |
70 <pre id="layers"> | 70 <pre id="layers"> |
71 <!-- In DRT, layer tree goes here. --> | 71 <!-- In DRT, layer tree goes here. --> |
72 </pre> | 72 </pre> |
73 </body> | 73 </body> |
74 </html> | 74 </html> |
OLD | NEW |