Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/paint/invalidation/ruby-text-flipped-blocks.html |
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/ruby-text-flipped-blocks.html b/third_party/WebKit/LayoutTests/paint/invalidation/ruby-text-flipped-blocks.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4b2a3d9319af40b0ba23b76ffc7412b2dcb10dcc |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/ruby-text-flipped-blocks.html |
| @@ -0,0 +1,15 @@ |
| +<!doctype html> |
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| +<div style="writing-mode: vertical-rl;"> |
| + <ruby id="outside">b<rt id="inside">c</rt></ruby> |
|
chrishtr
2016/07/15 01:24:29
Could you quickly summarize the flips that occur h
wkorman
2016/07/15 01:59:23
I think all of the general cases are fine. The pro
|
| +</div> |
| +<script> |
| +// Tests that ruby text paint invalidation in flipped-blocks writing mode works |
| +// correctly. The result should be vertical text as a pink "b" with a smaller |
| +// blue "c" to the right of it. |
| +onload = runRepaintTest; |
| +function repaintTest() { |
| + outside.style.color = "pink"; |
| + inside.style.color = "blue"; |
| +} |
| +</script> |