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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-focus-ring-repaint.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 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: third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-focus-ring-repaint.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-focus-ring-repaint.html b/third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-focus-ring-repaint.html
new file mode 100644
index 0000000000000000000000000000000000000000..d040bdc8b633d49ac47237fb254d39277dcff0c9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/svg/transform-focus-ring-repaint.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ document.getElementById('target').style.outline = 'red auto thin';
+}
+onload = runRepaintAndPixelTest;
+</script>
+<div style="height: 50px">
+Result repaint rects should cover the whole focus ring.
+</div>
+<div id="target" style="position: absolute; backface-visibility: hidden; width: 200px; height: 200px; background-color: yellow">
+ <div style="transform: rotate(90deg); position: absolute; top: 100px; left: 100px; background-color: blue; width: 300px; height: 300px">
+ <div style="position: absolute; top: 100px; left: 40px; background-color: green; width: 400px; height: 100px"></div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698