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

Side by Side Diff: LayoutTests/compositing/iframes/composited-iframe-transition-flicker.html

Issue 324733002: Add a layout test for iframe flicker due to overflow scroll promotion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/compositing/iframes/composited-iframe-transition-flicker-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <iframe id="frame" srcdoc="<style>input { width: 100px; }</style><input id='inpu t' value='add stuff here'></input>"></iframe>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 if (window.internals)
7 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true);
8
9 onload = function() {
10 var layerTreePreStyleUpdate = "";
11 var layerTreePostStyleUpdate = "";
12
13 document.getElementById("frame").contentDocument.getElementById("input").val ue =
14 "This is a very long string that will cause overflow";
15 layerTreePreStyleUpdate = window.internals.layerTreeAsText(document);
16
17 // Force a style recalc.
18 document.body.offsetTop;
19 layerTreePostStyleUpdate = window.internals.layerTreeAsText(document);
20
21 var pre = document.createElement('pre');
22 if (layerTreePreStyleUpdate === layerTreePostStyleUpdate)
23 pre.innerHTML = "PASS - layer trees are the same.";
24 else
25 pre.innerHTML = "FAIL - layer trees are not the same.";
26 document.body.appendChild(pre);
27 };
28 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/iframes/composited-iframe-transition-flicker-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698