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

Unified Diff: LayoutTests/fast/repaint/region-painting-in-composited-view.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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/fast/repaint/region-painting-in-composited-view.html
diff --git a/LayoutTests/fast/repaint/region-painting-in-composited-view.html b/LayoutTests/fast/repaint/region-painting-in-composited-view.html
deleted file mode 100644
index d027117951c57958bc9501efc843a71b30af843e..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/repaint/region-painting-in-composited-view.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<!doctype html>
-<head>
-<title>Test for https://bugs.webkit.org/show_bug.cgi?id=102826</title>
-<script>
- if (window.testRunner)
- window.testRunner.overridePreference("WebKitCSSRegionsEnabled", "1");
-</script>
-<style type="text/css">
-#content {
- -webkit-flow-into: flow1;
-}
-
-#target {
- background: red;
- width: 100px;
- height: 50px;
-}
-
-#region1, #region2 {
- position: absolute;
- top: 0px;
- width: 100px;
- height: 50px;
- -webkit-flow-from: flow1;
-}
-
-#region1 {
- /* Make sure that the content of the first region will display in a totally
- different place than it would have been displayed if regions were not used. */
- left: 120px;
- /* Force the composited mode on the current page. */
- -webkit-transform: translate3d(0,0,0);
-}
-
-#region2 {
- left: 0px;
- background-color: green;
-}
-
-</style>
-<script src="resources/repaint.js" type="text/javascript"></script>
-<script>
-function repaintTest()
-{
- document.getElementById('target').style.backgroundColor = 'green';
-}
-</script>
-</head>
-<body onload="runRepaintTest();">
- <!-- Testing that the repaint goes through the RenderRegions and not
- directly to the viewport. You should see two green rectangles. -->
- <div id="content">
- <div id="target"></div>
- </div>
- <div id="region1"></div>
- <div id="region2"></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698