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

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

Issue 266453008: Get rid of extra clipping of composited layers in CompositedLayerMapping::updateCompositedBounds(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 8 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-fixed.html
diff --git a/LayoutTests/compositing/geometry/limit-layer-bounds-fixed.html b/LayoutTests/compositing/geometry/limit-layer-bounds-fixed.html
deleted file mode 100644
index 1c180960d7e3b58001ca983c30a95b4c96d888e7..0000000000000000000000000000000000000000
--- a/LayoutTests/compositing/geometry/limit-layer-bounds-fixed.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
- <style>
- body {
- height: 5000px;
- margin: 0;
- }
- .fixed {
- position: fixed;
- left: 100px;
- top: 100px;
- width: 200px;
- height: 100px;
- background-color: green;
- }
-
- .forcer {
- position: absolute;
- top: 3100px;
- left: 100px;
- height: 100px;
- width: 100px;
- background-color: red;
- -webkit-transform: translateZ(0);
- }
-
- .child {
- position: absolute;
- left: -9000px;
- top: -9000px;
- height: 10px;
- width: 10px;
- background-color: red;
- }
- </style>
- <script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- function doTest()
- {
- window.scrollTo(0, 3000);
- // Force layout, which updates the fixed layer bounds.
- document.getElementById('layers').innerText = '';
- if (window.testRunner) {
- document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
- testRunner.notifyDone();
- }
- }
-
- window.addEventListener('load', doTest, false);
- </script>
-</head>
-
-<body>
- <div class="forcer"></div>
-
- <div class="fixed">
- <div class="child"></div>
- </div>
-
-<pre id="layers">Layer tree goes here in DRT</pre>
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698