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

Unified Diff: third_party/WebKit/LayoutTests/compositing/clip-change.html

Issue 2570463004: [SPInvalidation] Update paint properties on css clip change (Closed)
Patch Set: Rebase Created 4 years 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: third_party/WebKit/LayoutTests/compositing/clip-change.html
diff --git a/third_party/WebKit/LayoutTests/compositing/clip-change.html b/third_party/WebKit/LayoutTests/compositing/clip-change.html
deleted file mode 100644
index 6e8be7fc5185bf511a61de9def1a614efdcf7151..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/compositing/clip-change.html
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <script src="../resources/run-after-layout-and-paint.js"></script>
- <style>
- #indicator {
- position: absolute;
- top: 0px;
- left: 0px;
- height: 100px;
- width: 100px;
- background-color: red;
- }
- #clipper {
- transform:translateZ(0);
- position: absolute;
- top: 0px;
- left: 0px;
- height: 100px;
- width: 100px;
- background-color: green;
- clip: rect(25px, 75px, 75px, 25px);
- }
- </style>
- <script>
- if (window.testRunner) {
- testRunner.dumpAsTextWithPixelResults();
- testRunner.waitUntilDone();
- }
- function doTest() {
- runAfterLayoutAndPaint(function() {
- // The change in clip style should be reflected immediately in the size
- // of the composited clipper layer. After changing the clip, it should
- // entirely cover the indicator.
- var clipper = document.getElementById("clipper");
- clipper.style.clip = "rect(0px, 100px, 100px, 0px)";
- if (window.testRunner)
- testRunner.notifyDone();
- });
- }
- window.addEventListener("load", doTest, false);
- </script>
-</head>
- <body>
- <div id="indicator"></div>
- <div id="clipper"></div>
- </body>
-</html>
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/LayoutTests/compositing/clip-change-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698