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

Unified Diff: LayoutTests/fast/repaint/vertical-rl-as-paint-container.html

Issue 772913003: Paint invalidation: Need to check offset cacheability for invalidation containers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: repaint test n00b fixes. Created 6 years 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/vertical-rl-as-paint-container.html
diff --git a/LayoutTests/fast/repaint/vertical-rl-as-paint-container.html b/LayoutTests/fast/repaint/vertical-rl-as-paint-container.html
new file mode 100644
index 0000000000000000000000000000000000000000..caa442bd8d56fd89ea9f16937daec074323deb66
--- /dev/null
+++ b/LayoutTests/fast/repaint/vertical-rl-as-paint-container.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script src="resources/text-based-repaint.js"></script>
+<script>
+ if (window.internals) {
+ onload = runRepaintTest;
+ } else {
+ onclick = repaintTest;
+ }
+ function repaintTest() {
+ var target = document.getElementById('target');
+ target.style.color = 'green';
+ }
+</script>
+<div id="target" style="-webkit-writing-mode:vertical-rl; -webkit-backface-visibility:hidden; width:600px; height:400px; font:20px/1 Ahem; color:red;">
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+</div>
+<p>All text above should be green (if tested manually, you need to click first).</p>

Powered by Google App Engine
This is Rietveld 408576698