Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / invalidation-after-opacity-change-subtree.html
blob718f7f2bde24b38bae5d7f27b548dc804ef60251
1 <!doctype html>
2 <style>
3 #container {
4 opacity: 0;
5 font: 10px/1 Ahem;
8 #absolute {
9 position: absolute;
10 top: 2000px;
11 font: 50px/1 Sherif;
13 </style>
14 <div id="container">
15 <div id="absolute">
16 <p>This test checks that switching opacity invalidates the full subtree.</p>
17 <p>This text should be visible in the output.</p>
18 </div>
19 </div>
20 <script src="resources/text-based-repaint.js"></script>
21 <script>
23 function repaintTest() {
24 window.scrollTo(0, 2000);
25 container.style.opacity = "1";
27 runRepaintTest();
28 </script>