Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/absolute-position-and-opacity-changed.html

Issue 2327223002: Move all remaining fast/repaint tests to paint/invalidation (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <style> 2 <style>
3 div { 3 div {
4 width: 50px; 4 width: 50px;
5 height: 50px; 5 height: 50px;
6 position: absolute; 6 position: absolute;
7 top: 30px; 7 top: 30px;
8 } 8 }
9 </style> 9 </style>
10 There should be a single green square below. 10 There should be a single green square below.
11 <div style="background: red"></div> 11 <div style="background: red"></div>
12 <div style="background: green; top: 80px; opacity: 0.5" id="target"></div> 12 <div style="background: green; top: 80px; opacity: 0.5" id="target"></div>
13 <script> 13 <script>
14 var target = document.getElementById('target'); 14 var target = document.getElementById('target');
15 target.offsetTop; 15 target.offsetTop;
16 target.style.opacity = 0.9; 16 target.style.opacity = 0.9;
17 target.style.top = '30px'; 17 target.style.top = '30px';
18 </script> 18 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698