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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/iframes/floating-self-painting-frame.html

Issue 2009353003: Add a hack to set shouldPaint to true for force-composited iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 <style>
3 iframe {
4 float: left;
5 height: 100%;
6 width: 100%;
7 }
8 </style>
9 <iframe id="target" name="content" srcdoc="<div style='width: 300px; height:400 px; background: blue'></div>" style="height: 119px;"></iframe>
10 <script>
11 if (window.internals)
12 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
13 onload = function() {
Xianzhu 2016/05/26 18:29:54 I think we should use runAfterLayoutAndPaint() bec
chrishtr 2016/05/26 18:49:29 Done.
14 target.style.height = "600px";
15 }
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698