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

Unified Diff: LayoutTests/fast/repaint/resize-with-border.html

Issue 399173005: Incrementally invalidate boxes with borders if possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: LayoutTests/fast/repaint/resize-with-border.html
diff --git a/LayoutTests/fast/repaint/resize-with-border.html b/LayoutTests/fast/repaint/resize-with-border.html
index 506fb250e1e905a3198532966e5e1930c3769558..c24dafb894e171c9e3e3a5d99b8183b954cf2840 100644
--- a/LayoutTests/fast/repaint/resize-with-border.html
+++ b/LayoutTests/fast/repaint/resize-with-border.html
@@ -11,10 +11,18 @@ window.onload = runRepaintTest;
body {
margin: 0;
}
-div {
+#div {
+ position: absolute;
+ top: 100px;
+ left: 100px;
width: 200px;
height: 200px;
border: green 10px solid;
}
</style>
+<div>
+Tests repaint when a box with border is resized.
+Passes if the result paint rects cover all changed part,
+the new border is correctly drawn and there is no residue of the old border.
+</div>
<div id="div"></div>

Powered by Google App Engine
This is Rietveld 408576698