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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/composited-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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/composited-vertical-rl-overflow-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/invalidation/composited-vertical-rl-overflow.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/composited-vertical-rl-overflow.html b/third_party/WebKit/LayoutTests/paint/invalidation/composited-vertical-rl-overflow.html
new file mode 100644
index 0000000000000000000000000000000000000000..0a3b317bfebce001731cebfcf30aedd5b51577fa
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/composited-vertical-rl-overflow.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<style>
+#div {
+ will-change: transform;
+ 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 composited 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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/composited-vertical-rl-overflow-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698