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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/box-shadow-dynamic-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/box-shadow-dynamic-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/box-shadow-dynamic.html b/third_party/WebKit/LayoutTests/fast/repaint/box-shadow-dynamic-expected.html
similarity index 55%
copy from third_party/WebKit/LayoutTests/fast/repaint/box-shadow-dynamic.html
copy to third_party/WebKit/LayoutTests/fast/repaint/box-shadow-dynamic-expected.html
index 9237da17afbecea8f29cc247276d7b67c4d1d569..096e0efe348638e287063d7cad7274e6ca010ac1 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/box-shadow-dynamic.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/box-shadow-dynamic-expected.html
@@ -5,27 +5,19 @@
<style type="text/css">
div.test { width: 50px; height: 100px; padding: 10px; }
</style>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
- <script type="text/javascript">
- function repaintTest()
- {
- document.getElementById('a').style.height = '50px';
- document.getElementById('b').style.height = '50px';
- }
- </script>
</head>
-<body onload="runRepaintTest();">
+<body>
<p>
Tests the repainting of box shadows when boxes are resized.
</p>
<div class="test">
<div style="background: #ff7; -webkit-box-shadow: black 5px 5px 0;">
- <div id="a" style="height: 70px; margin: 10px;"></div>
+ <div id="a" style="height: 50px; margin: 10px;"></div>
</div>
</div>
<div class="test">
<div style="background: #ff7; -webkit-box-shadow: black 5px 5px 0;">
- <div id="b" style="height: 30px; margin: 10px;"></div>
+ <div id="b" style="height: 50px; margin: 10px;"></div>
</div>
</div>
</body>

Powered by Google App Engine
This is Rietveld 408576698