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

Unified Diff: LayoutTests/compositing/layer-creation/iframe-clip-removed.html

Issue 1181743003: Rebuild GraphicsLayer tree when a LayoutPart's CDPLM configuration changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/compositing/layer-creation/iframe-clip-removed-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/compositing/layer-creation/iframe-clip-removed.html
diff --git a/LayoutTests/compositing/layer-creation/iframe-clip-removed.html b/LayoutTests/compositing/layer-creation/iframe-clip-removed.html
new file mode 100644
index 0000000000000000000000000000000000000000..6d9420ec2a72bf1cd6915275d5addfe545035be8
--- /dev/null
+++ b/LayoutTests/compositing/layer-creation/iframe-clip-removed.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<style>
+ #subframe {
+ width: 400px;
+ height: 500px;
+ background-color: blue;
+ position: relative;
+ }
+
+ #scroller {
+ height: 200px;
+ width: 300px;
+ position: absolute;
+ overflow: scroll;
+ }
+
+ #clip {
+ position: absolute;
+ clip: rect(0px, 100px, 100px, 0px);
+ }
+</style>
+<script>
+ onload = function() {
+ // Render one frame with clipping, then remove the clip.
+ window.requestAnimationFrame(function() {
+ window.requestAnimationFrame(function() {
+ document.getElementById("clip").style.clip = "auto";
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ });
+ }
+
+ if (window.testRunner && window.internals) {
+ testRunner.waitUntilDone();
+ internals.settings.setPreferCompositingToLCDTextEnabled(true);
+ }
+
+</script>
+
+<div id="scroller">
+ <div id="clip">
+ <iframe id="subframe"></iframe>
+ </div>
+</div>
« no previous file with comments | « no previous file | LayoutTests/compositing/layer-creation/iframe-clip-removed-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698