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

Unified Diff: LayoutTests/platform/chromium/compositing/layout-width-change.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/platform/chromium/compositing/layout-width-change.html
diff --git a/LayoutTests/platform/chromium/compositing/layout-width-change.html b/LayoutTests/platform/chromium/compositing/layout-width-change.html
deleted file mode 100644
index 4a3179ad54614583dc7351d319e767fb1cc33834..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/compositing/layout-width-change.html
+++ /dev/null
@@ -1,61 +0,0 @@
-<!DOCTYPE>
-<html>
-<head>
- <title>Layout width change</title>
-
- <style type="text/css" media="screen">
- .container {
- position: absolute;
- width: 400px;
- height: 1500px;
- }
-
- .panel {
- position: absolute;
- top: 0px;
- left: 0px;
- width: 1000px;
- height: 200px;
- background-color: #bbb;
- }
-
- .composited {
- -webkit-transform: translateZ(0);
- }
- </style>
- <script type="text/javascript" charset="utf-8">
- if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText(true);
- }
- function doTest()
- {
- var container = document.getElementById("container");
- var panel = document.getElementById("panel");
-
- // Delay is needed after switching between compositing and non-compositing
- // mode to allow for another render to happen.
- window.setTimeout(function() {
- panel.className += " composited"
- container.style.height = "300";
- if (window.testRunner) {
- window.setTimeout(function() {
- testRunner.notifyDone();
- }, 20);
- }
- }, 20);
- }
-
- window.addEventListener('load', doTest, false);
- </script>
-</head>
-<body>
-
- <p>There should be no white gap at the right hand side of the box.</p>
- <div id="container" class="container">
- <div id="panel" class="panel">
- </div>
- </div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698