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

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

Issue 2265813002: 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: Add new test to SPv2 expectations. 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 <style>
3 iframe {
4 float: left;
5 height: 100%;
6 width: 100%;
7 }
8 </style>
9 <script src="../../resources/run-after-layout-and-paint.js"></script>
10 <iframe id="target" name="content" srcdoc="<div style='width: 300px; height:400 px; background: blue'></div>" style="height: 119px;"></iframe>
11 <script>
12 if (window.internals)
13 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
14 onload = function() {
15 runAfterLayoutAndPaint(function() {
16 target.style.height = "600px";
17 }, true);
18 }
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698