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

Unified Diff: LayoutTests/compositing/geometry/limit-layer-bounds-overflow-repaint.html

Issue 264013002: Allow layers that need squashing to draw into the squashing layer in some cases. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix comment. Created 6 years, 7 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
Index: LayoutTests/compositing/geometry/limit-layer-bounds-overflow-repaint.html
diff --git a/LayoutTests/compositing/geometry/limit-layer-bounds-overflow-repaint.html b/LayoutTests/compositing/geometry/limit-layer-bounds-overflow-repaint.html
deleted file mode 100644
index 3eb4940f0fde18a541c2c9cb036c93dc20044917..0000000000000000000000000000000000000000
--- a/LayoutTests/compositing/geometry/limit-layer-bounds-overflow-repaint.html
+++ /dev/null
@@ -1,78 +0,0 @@
-<!DOCTYPE html>
-
-<html lang="en">
-<head>
- <style type="text/css" media="screen">
- .container {
- display: inline-block;
- width: 200px;
- height: 200px;
- overflow: hidden;
- margin: 10px;
- border: 1px solid black;
- }
-
- .inner {
- width: 100%;
- height: 1000px;
- background-color: blue;
- }
-
- .compositing {
- position: absolute;
- top: 20px;
- left: 20px;
- width: 100px;
- height: 100px;
- -webkit-transform: translateZ(0);
- }
-
- .top {
- height: 50%;
- width: 100%;
- background-color: red;
- }
-
- .bottom {
- height: 50%;
- width: 100%;
- background-color: green;
- }
- </style>
- <script type="text/javascript" charset="utf-8">
- if (window.testRunner)
- testRunner.waitUntilDone();
-
- function doTest()
- {
- window.setTimeout(function() {
- var scrollables = document.querySelectorAll('.container');
- for (var i = 0; i < scrollables.length; ++i)
- scrollables[i].scrollTop = 500;
-
- if (window.testRunner)
- testRunner.notifyDone();
-
- }, 0);
- }
-
- window.addEventListener('load', doTest, false);
- </script>
-</head>
-
-<body>
-
- <!-- Go into compositing. -->
- <div class="compositing"></div>
-
- <!-- Test repainting when the graphicsLayer offsetFromRenderer changes -->
- <!-- You should see one green square, and no red -->
- <div class="container" style="position: relative;">
- <div class="inner" style="position: relative;">
- <div class="top"></div>
- <div class="bottom"></div>
- </div>
- </div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698