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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/resize-with-border-clipped-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/resize-with-border-clipped-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/resize-with-border-clipped.html b/third_party/WebKit/LayoutTests/fast/repaint/resize-with-border-clipped-expected.html
similarity index 60%
copy from third_party/WebKit/LayoutTests/fast/repaint/resize-with-border-clipped.html
copy to third_party/WebKit/LayoutTests/fast/repaint/resize-with-border-clipped-expected.html
index 3ac6fa4d6b54502cc5ce52ce2b42e24dfd7951ce..870920dac44ff90c0b2b61a822dbc451d792c002 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/resize-with-border-clipped.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/resize-with-border-clipped-expected.html
@@ -1,12 +1,4 @@
<!DOCTYPE html>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- document.getElementById('target').style.width = '300px';
- document.getElementById('target').style.height = '300px';
-}
-window.onload = runRepaintTest;
-</script>
<style>
body {
margin: 0;
@@ -20,8 +12,8 @@ body {
overflow: hidden;
}
#target {
- width: 100px;
- height: 100px;
+ width: 300px;
+ height: 300px;
border: green 10px solid;
background-color: blue;
}

Powered by Google App Engine
This is Rietveld 408576698