Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / should-not-repaint-composited-descendants-on-overflow-change-expected.html
blob3605f1f7c26a5d0be7f60a62f5b1793375921392
1 <!DOCTYPE html>
2 <style>
3 body {
4 margin: 0;
6 #overflow1 {
7 overflow: visible;
8 width: 200px;
9 height: 200px;
11 #overflow2 {
12 overflow: hidden;
13 width: 200px;
14 height: 200px;
16 .composited-child {
17 width: 100px;
18 height: 100px;
19 background-color: green;
20 backface-visibility: hidden;
22 .overflow-child {
23 position: relative;
24 top: 50px;
25 left: 150px;
27 </style>
28 <!-- We should not repaint composited descendants on overflow style changes (verified with the text expectation).
29 The compositor should handle any visual change caused by the change of overflow clipping (verified with the pixel expectation). -->
30 <div id="overflow1">
31 <div class="composited-child"></div>
32 <div class="composited-child overflow-child"></div>
33 </div>
34 <div id="overflow2">
35 <div class="composited-child"></div>
36 <div class="composited-child overflow-child"></div>
37 </div>