Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | |
| 3 <div> | |
| 4 <ruby id="outside">b<rt id="inside">c</rt></ruby> | |
| 5 </div> | |
| 6 <script> | |
| 7 // Tests that ruby text paint invalidation works correctly. The result should | |
| 8 // be horizontal text as a pink "b" with a smaller blue "c" above it. | |
| 9 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
| |
| 10 function repaintTest() { | |
| 11 outside.style.color = "pink"; | |
| 12 inside.style.color = "blue"; | |
| 13 } | |
| 14 </script> | |
| OLD | NEW |