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

Unified Diff: LayoutTests/compositing/geometry/limit-layer-bounds-fixed-positioned.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-positioned.html
diff --git a/LayoutTests/compositing/geometry/limit-layer-bounds-fixed-positioned.html b/LayoutTests/compositing/geometry/limit-layer-bounds-fixed-positioned.html
deleted file mode 100644
index 5a64d33b941c13f86366346e4ecbd9439a95a2cf..0000000000000000000000000000000000000000
--- a/LayoutTests/compositing/geometry/limit-layer-bounds-fixed-positioned.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
- <style type="text/css" media="screen">
- body {
- position: relative;
- height: 1000px;
- }
- .container {
- position: fixed;
- width: 100px;
- height: 100px;
- padding: 20px;
- z-index: 0;
- border: 1px solid black;
- }
-
- .compositing {
- position: absolute;
- top: 121px;
- left: 21px;
- width: 100px;
- height: 100px;
- -webkit-transform: translateZ(0);
- }
-
- .far-left {
- position: relative;
- left: -1000px;
- width: 1100px;
- height: 100px;
- background-color: green;
- }
-
- .indicator {
- position: absolute;
- top: 121px;
- left: 21px;
- width: 100px;
- height: 100px;
- background-color: red;
- }
- </style>
- <script type="text/javascript" charset="utf-8">
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- function doTest()
- {
- window.scrollBy(0, 100);
-
- if (window.testRunner) {
- document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
- testRunner.notifyDone();
- }
- }
-
- window.addEventListener('load', doTest, false);
- </script>
-</head>
-
-<body>
-
- <!-- Go into compositing. -->
- <div class="compositing"></div>
-
- <div class="indicator"></div>
-
- <!-- Test clipping to viewport with some intermediate layers. -->
- <!-- Green box should extend to the left edge. No red visible. -->
- <div class="container">
- <div class="far-left">
- Text here
- </div>
- </div>
- <pre id="layers">Layer tree goes here in DRT</pre>
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698