| 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..f469c4c727d6239bfbfe983e72816ceb4dcbf4c7
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/ruby-text.html
|
| @@ -0,0 +1,15 @@
|
| +<!doctype html>
|
| +<script src="../../resources/ahem.js"></script>
|
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<div style="font-family: Ahem; font-size: 10px;">
|
| + <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 box with a smaller blue box above it.
|
| +onload = runRepaintAndPixelTest;
|
| +function repaintTest() {
|
| + outside.style.color = "pink";
|
| + inside.style.color = "blue";
|
| +}
|
| +</script>
|
|
|