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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/vertical-rl-overflow.html

Issue 2371933003: Fix paint invalidation for composited vertical-rl having overflow (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/vertical-rl-overflow.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/vertical-rl-overflow.html b/third_party/WebKit/LayoutTests/paint/invalidation/vertical-rl-overflow.html
new file mode 100644
index 0000000000000000000000000000000000000000..a5c7dc2bfd2456503aca6a2ab69fe124f126ca23
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/vertical-rl-overflow.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<style>
+#div {
+ box-shadow: -50px 0 red;
+ position: absolute;
+ top: 100px;
+ left: 100px;
+ width: 100px;
+ height: 100px;
+ writing-mode: vertical-rl;
+ background-color: blue;
+}
+</style>
+Tests paint invalidation of a verticle-rl div with overflow. Passes if no under-invalidation reported and shows no red.
+<div id="div"></div>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ div.style.boxShadow = '-50px 0 green';
+}
+onload = runRepaintAndPixelTest;
+</script>

Powered by Google App Engine
This is Rietveld 408576698