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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/window-resize-centered-inline-under-fixed-pos.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
(Empty)
1 <!DOCTYPE html>
2 <script src="resources/window-resize-repaint.js"></script>
3 <style>
4 .container {
5 position: fixed;
6 top: 0;
7 left: 0;
8 right: 0;
9 bottom: 0;
10 background-color: lightgrey;
11 }
12
13 .parent {
14 height: 100%;
15 width: 6px;
16 background-color: black;
17 }
18
19 .child {
20 position: relative;
21 display: inline-block;
22 height: 30px;
23 width: 6px;
24 top: 50%;
25 background-color: red;
26 }
27
28 </style>
29 <!--
30 Tests that the element with class "child" is invalidated when the browser is res ized,
31 since its position is relative to the size of the frame.
32 -->
33 <div class="container">
34 <div class="parent">
35 <div class="child"></div>
36 </div>
37 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698