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

Unified Diff: LayoutTests/paint/invalidation/spv2/border-outline-0-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/paint/invalidation/spv2/border-outline-0-expected.html
diff --git a/LayoutTests/paint/invalidation/spv2/border-outline-0-expected.html b/LayoutTests/paint/invalidation/spv2/border-outline-0-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..855e8db3e2242f1b98aaef8af5a9a5843cecc061
--- /dev/null
+++ b/LayoutTests/paint/invalidation/spv2/border-outline-0-expected.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+
+<style>
+#border-image,
+#border,
+#outline {
+ height: 100px;
+ width: 100px;
+}
+
+td {
+ height: 50px;
+ width: 50px;
+ border-style: hidden;
+}
+
+#border-image {
+ position: absolute;
+ top: 10px;
+ left: 10px;
+}
+</style>
+
+<p>Tests that setting an outline or a border of 0 on an element without a border or outline doesn't repaint.</p>
+
+<div id="border"></div>
+<div id="outline"></div>
+<div id="border-image"></div>
+
+<table>
+ <tr>
+ <td id="cell"></td>
+ <td></td>
+ </tr>
+</table>

Powered by Google App Engine
This is Rietveld 408576698