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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/ruby-flipped-blocks.html

Issue 2166923004: Fix Ruby visual rects in flipped blocks writing mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to patch 1 with updated test and comments. Created 4 years, 5 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/ruby-flipped-blocks.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/ruby-flipped-blocks.html b/third_party/WebKit/LayoutTests/paint/invalidation/ruby-flipped-blocks.html
new file mode 100644
index 0000000000000000000000000000000000000000..a9a16fb1cd46a42342e6f153e0cc4e0e9e363f57
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/ruby-flipped-blocks.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<script src="../../resources/ahem.js"></script>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<div style="writing-mode: vertical-rl; font-family: Ahem; font-size: 20px;">
+a<ruby id="outer">b<rt id="inner">c</rt></ruby>
+</div>
+<script>
+onload = runRepaintAndPixelTest;
+function repaintTest() {
+ outer.style.color = "yellow";
+ inner.style.color = "blue";
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698