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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/pagination/pagination-change-clip-crash.html

Issue 2820233002: Always report maybe-clipped when painting fragmented content (Closed)
Patch Set: Created 3 years, 8 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="../invalidation/resources/text-based-repaint.js"></script>
3 <div id=multicol style="columns:3;">
4 <div style="height:300px; background:white;">
5 </div>
6 </div>
7 <div style="width: 10px; height: 300px"></div>
8 <style>
9 .composited {
10 transform: translateZ(0);
11 }
12 </style>
13 <script>
14 if (window.internals)
15 window.internals.runtimeFlags.paintUnderInvalidationCheckingEnabled = true;
Xianzhu 2017/04/18 00:15:21 This is unnecessary because we always check for un
chrishtr 2017/04/18 21:13:13 Done.
16 if (window.testRunner)
17 window.testRunner.waitUntilDone();
Xianzhu 2017/04/18 00:15:21 Similar.
chrishtr 2017/04/18 21:13:13 Done.
18
19 function repaintTest() {
20 window.requestAnimationFrame(function() {
Xianzhu 2017/04/18 00:15:21 Is requestAnimationFrame necessary?
chrishtr 2017/04/18 21:13:13 Done. Good catches. I seemed to need these in an e
21 background.style.padding = "50px";
22 });
23 }
24
25 window.testIsAsync = true;
26 onload = runRepaintTest;
27 </script>
28 <div class="composited" style="height:200px" id="background">
Xianzhu 2017/04/18 00:15:21 Put all dom elements together (not separated by st
chrishtr 2017/04/18 21:13:13 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698