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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/remove-inline-after-layout-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/remove-inline-after-layout-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/remove-inline-after-layout.html b/third_party/WebKit/LayoutTests/fast/repaint/remove-inline-after-layout-expected.html
similarity index 51%
copy from third_party/WebKit/LayoutTests/fast/repaint/remove-inline-after-layout.html
copy to third_party/WebKit/LayoutTests/fast/repaint/remove-inline-after-layout-expected.html
index 10b6e712cc8a1387b50565c6cb778a032c48b9db..2b20385f1144bd7a4a735975a6bf498a06a46670 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/remove-inline-after-layout.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/remove-inline-after-layout-expected.html
@@ -1,19 +1,6 @@
<!DOCTYPE html>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- var target = document.getElementById('target');
- target.style.margin = '200px';
- target.offsetLeft;
- target.parentNode.removeChild(target);
-}
-onload = runRepaintTest;
-</script>
<div style="height: 100px">
Tests invalidation after layouting and then removing a span. The span should disappear without any residue.
</div>
<div style="display: inline-block; width: 100px; height: 100px; background-color: green"></div>
-<span id="target">
- This span should disappear.
-</span>
<div style="display: inline-block; width: 100px; height: 100px; background-color: green"></div>

Powered by Google App Engine
This is Rietveld 408576698