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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/static-to-positioned-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/static-to-positioned-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/static-to-positioned.html b/third_party/WebKit/LayoutTests/fast/repaint/static-to-positioned-expected.html
similarity index 51%
copy from third_party/WebKit/LayoutTests/fast/repaint/static-to-positioned.html
copy to third_party/WebKit/LayoutTests/fast/repaint/static-to-positioned-expected.html
index 13b76df503bcbb837447964f95842832d7b9ffce..beb6661ad50ae377662e9e7e242e399c7167307c 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/static-to-positioned.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/static-to-positioned-expected.html
@@ -1,28 +1,18 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
-<head>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
- <script type="text/javascript">
- function repaintTest()
- {
- document.getElementById('a').style.position='relative';
- document.getElementById('t').style.position='absolute';
- }
- </script>
-</head>
-<body onload="runRepaintTest();">
+<body>
<p>
Repaint test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9334">http://bugzilla.opendarwin.org/show_bug.cgi?id=9334</a>
Incomplete repaint when changing block from non-positioned to positioned</i>.
</p>
<hr>
<div style="position: relative; height: 200px;">
- <div id="a" style="width: 100px; height: 100px; background: blue; top: 50px; "></div>
+ <div id="a" style="position: relative; width: 100px; height: 100px; background: blue; top: 50px; "></div>
</div>
<div style="position: relative; height: 150px; padding-top: 50px;">
<div style="height: 150px;">
- <div id="t" style="width: 100px; height: 100px; background: blue; top: 0;"></div>
+ <div id="t" style="position: absolute; width: 100px; height: 100px; background: blue; top: 0;"></div>
</div>
</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698