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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/opacity-change-on-overflow-float-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/fast/repaint/opacity-change-on-overflow-float-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/opacity-change-on-overflow-float.html b/third_party/WebKit/LayoutTests/fast/repaint/opacity-change-on-overflow-float-expected.html
similarity index 76%
copy from third_party/WebKit/LayoutTests/fast/repaint/opacity-change-on-overflow-float.html
copy to third_party/WebKit/LayoutTests/fast/repaint/opacity-change-on-overflow-float-expected.html
index 017c7bad12ddd2175a2cae8d22c4c3a1a64cabce..b69fafb320733784ea7e7c883941f66c9eedac66 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/opacity-change-on-overflow-float.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/opacity-change-on-overflow-float-expected.html
@@ -11,22 +11,9 @@ div {
.green {
background-color:green
}
-
-.red {
- background-color:red
-}
</style>
-
-<script src="resources/text-based-repaint.js" type="text/javascript"></script>
-<script>
-function repaintTest()
-{
- document.getElementsByClassName("green")[0].style.opacity = 1;
-}
-</script>
-
</head>
-<body onload="runRepaintTest()">
+<body>
<p>Repaint test for <rdar><!--
Oh man, let me explain why this is here. In the beginning, there was an
<rdar:://problem/6869687> link to the great and mysterious rdar. However, that
@@ -43,8 +30,5 @@ And on the third day, he rested. --> REGRESSION (r41203): Facebook friend sugges
from being self-painting to non-self-painting that a layout happens to fix up the floating objects lists. You should see a 100x100 green square below.
If you see any red, the test has failed.
</p>
-<div class="red">
- <div class="green" style="opacity:0.5">
- </div>
-</div>
+<div class="green"></div>

Powered by Google App Engine
This is Rietveld 408576698