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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/in-scaled-iframe-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/in-scaled-iframe-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/in-scaled-iframe.html b/third_party/WebKit/LayoutTests/fast/repaint/in-scaled-iframe-expected.html
similarity index 52%
copy from third_party/WebKit/LayoutTests/fast/repaint/in-scaled-iframe.html
copy to third_party/WebKit/LayoutTests/fast/repaint/in-scaled-iframe-expected.html
index c7b92e7f505cb25b3c284c5163f2e483a780e813..44fa63cf133c76b9e467d1925e2504b22855ba5c 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/in-scaled-iframe.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/in-scaled-iframe-expected.html
@@ -1,14 +1,7 @@
<!DOCTYPE html>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- document.getElementById('iframe').contentDocument.getElementById('div').style.backgroundColor = 'green';
-}
-onload = runRepaintTest;
-</script>
<div style="transform: scale(0.5); transform-origin: 0 0">
<iframe id="iframe" style="width: 800px; height: 800px"
- srcdoc="<div id='div' style='position: absolute; top: 400px; left: 400px; width: 200px; height: 200px; background-color: red'></div>">
+ srcdoc="<div id='div' style='position: absolute; top: 400px; left: 400px; width: 200px; height: 200px; background-color: green'></div>">
</iframe>
</div>
<p style="position: absolute; top: 400px">

Powered by Google App Engine
This is Rietveld 408576698