Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/paint/invalidation/ruby-text.html |
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/ruby-text.html b/third_party/WebKit/LayoutTests/paint/invalidation/ruby-text.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7de337908d49ce234883e57b4db1e4f8fd4e5305 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/ruby-text.html |
| @@ -0,0 +1,14 @@ |
| +<!doctype html> |
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
| +<div> |
| + <ruby id="outside">b<rt id="inside">c</rt></ruby> |
| +</div> |
| +<script> |
| +// Tests that ruby text paint invalidation works correctly. The result should |
| +// be horizontal text as a pink "b" with a smaller blue "c" above it. |
| +onload = runRepaintTest; |
|
chrishtr
2016/07/15 01:24:29
runRepaintAndPixelTest is easy, and Xianzhu showed
wkorman
2016/07/15 01:59:23
Done. I mostly felt uneasy about dumping binary im
|
| +function repaintTest() { |
| + outside.style.color = "pink"; |
| + inside.style.color = "blue"; |
| +} |
| +</script> |